@launchdarkly/eventsource - v0.2.5
    Preparing search index...

    Interface FetchResponseBody

    The streamable response body.

    interface FetchResponseBody {
        cancel?(): void | Promise<unknown>;
        getReader(): FetchBodyReader;
    }
    Index
    • Releases the body without reading it. A standard fetch body always has it; it is optional so a minimal injected transport can omit it. The client calls it for a response it rejects without reading, because the abort signal alone cannot release a transport that ignores the signal.

      Returns void | Promise<unknown>