mogami-stream - v0.2.0
    Preparing search index...

    Interface MapContext

    Context passed to map and mapSettled callbacks.

    interface MapContext {
        attempt: number;
        index: number;
        signal: AbortSignal;
    }

    Hierarchy (View Summary)

    Index
    attempt: number

    One-based attempt number for the current item (starts at 1 on the initial call).

    index: number

    Zero-based item index for the current operator execution.

    signal: AbortSignal

    Abort signal that triggers when the owning stage stops. Pass this to cancellable I/O.