Documentation
    Preparing search index...

    Interface ReadableBodyLike

    The subset of a WHATWG ReadableStream<Uint8Array> this package reads.

    Named rather than inlined so a test can satisfy it with { getReader } and a real Response.body still needs no adapter.

    interface ReadableBodyLike {
        getReader(): ByteReaderLike;
    }
    Index
    • Locks the stream and returns a reader.

      Returns ByteReaderLike