Setu-TS
    Preparing search index...

    Interface ObservedFetchOptions

    Options for createObservedFetch.

    0.8.0

    interface ObservedFetchOptions {
        alias: string;
        fetch?: (input: RequestInfo, init?: RequestInit) => Promise<Response>;
        timing?: Pick<IClientTiming, "now">;
    }
    Index
    alias: string

    The approved, non-secret display label for this helper: 1–64 UTF-8 bytes, no control characters. Never derive it from a destination; it is disclosed to a paired devtool as written.

    fetch?: (input: RequestInfo, init?: RequestInit) => Promise<Response>

    The fetch to wrap. Defaults to the SDK's call-time globalThis.fetch. A wrapped fetch should not depend on its receiver; prefer (input, init) => fetch(input, init).

    timing?: Pick<IClientTiming, "now">

    The monotonic clock, called as timing.now() — never detached. Defaults to createDefaultClientTiming. Probed once at construction.