@bitsinfra/fusee
    Preparing search index...

    Interface BatchOptions

    interface BatchOptions {
        dedupWindow?: Duration;
        id?: string;
        maxEvents?: number;
        maxWait?: Duration;
    }
    Index
    dedupWindow?: Duration

    How long the key remembers event IDs after its last event (default 10m).

    id?: string

    The event ID: a retried call with the same ID adds the event once and gets the same run.

    maxEvents?: number

    The run starts as soon as the batch holds this many events (default 100, at most 10,000).

    maxWait?: Duration

    ...or this long after the batch's first event (default 1s).