• Creates a ReadableStream the queues x and closes.

    Type Parameters

    • T

    Parameters

    Returns ReadableStream<T>

    Example

    await of({ foo: 'bar' }).pipeTo(write(x => console.info(x)))
    // { foo: 'bar' }

Generated using TypeDoc