@adcp/sdk API Reference - v17.0.0-rc.0
    Preparing search index...

    Interface EventsOptions

    Options for client.reporting.events.

    interface EventsOptions {
        grace?: string;
        readTimeoutMilliseconds?: number;
        pollEvery?: string | number;
        signal?: AbortSignal;
        onError?: (error: Error) => void;
    }

    Hierarchy

    Index
    grace?: string

    How long after a period ends the seller may take to plan it; an ISO 8601 duration, default PT1H.

    readTimeoutMilliseconds?: number

    Bounds each read. Defaults to 30 seconds.

    pollEvery?: string | number

    How often to poll without a doorbell: an ISO 8601 duration or milliseconds. Default PT5M.

    signal?: AbortSignal

    Stops the loop.

    onError?: (error: Error) => void

    Hears a transient poll failure (recovery: 'transient', such as an unreachable seller). The loop keeps going and polls again at the next tick or doorbell. Other errors end the loop.