Logos DX
    Preparing search index...

    Interface DedupeEventData<S, H, P>

    Event data for deduplication events.

    Extends base event data with deduplication-specific fields.

    interface DedupeEventData<S = unknown, H = unknown, P = unknown> {
        aborted?: boolean;
        attempt?: number;
        data?: unknown;
        delay?: number;
        error?: Error | FetchError<{}, DictAndT<H>>;
        headers?: DictAndT<H>;
        key: string;
        method?: string;
        nextAttempt?: number;
        params?: DictAndT<P>;
        path?: string;
        payload?: unknown;
        requestEnd?: number;
        requestId?: string;
        requestStart?: number;
        response?: Response;
        state: S;
        status?: number;
        step?: "fetch" | "parse" | "response";
        url?: string | URL;
        waitingCount?: number;
    }

    Type Parameters

    • S = unknown

      Instance state type

    • H = unknown

      Instance headers type

    • P = unknown

      Instance params type

    Hierarchy (View Summary)

    Index

    Properties

    aborted?: boolean
    attempt?: number
    data?: unknown
    delay?: number
    error?: Error | FetchError<{}, DictAndT<H>>
    headers?: DictAndT<H>
    key: string

    The generated deduplication key

    method?: string
    nextAttempt?: number
    params?: DictAndT<P>
    path?: string
    payload?: unknown
    requestEnd?: number

    Timestamp (ms) when the request resolved (success, error, or abort)

    requestId?: string

    Unique ID for this request, flows through all events

    requestStart?: number

    Timestamp (ms) when the request entered the execution pipeline

    response?: Response
    state: S
    status?: number
    step?: "fetch" | "parse" | "response"
    url?: string | URL
    waitingCount?: number

    Number of callers waiting on this request (join events only)