RUM JavaScript API - 1.345.1
    Preparing search index...

    Interface UserActionStartOptionsExperimental

    Options to create a user action with.

    interface UserActionStartOptions {
        completeAutomatically?: boolean;
        customName: string;
        customTrackers?: UserActionActivityTrackerRegistration[];
        startTime?: number;
    }
    Index

    Properties

    completeAutomatically?: boolean

    Automatically completes the user action upon timeout, page hide or when new user action is detected.

    default: false

    customName: string

    A human-readable custom name to identify the user action.

    Custom activity tracker registrations applied at action start. Each entry pairs a tracker name (surfaced in diagnostics) with a create function the agent invokes with an activity context. notifyActivity() extends the quiet window without blocking completion; block() keeps the tracker blocked until release() is called. block() and release() are idempotent per tracker. Equivalent to calling UserActionTracker.registerCustomTracker with each (name, create) pair immediately after creation.

    startTime?: number

    The unix timestamp indicating when the user action should start. Future timestamps are not supported - use current or past timestamps.