@flowscripter/pluggable-io-framework-api
    Preparing search index...

    Interface StreamHandle<K>

    A handle to a readable or writable stream of a single, declared ChunkKind - homogeneous, so consumers never need to test each chunk's kind. Plus optional capability methods for providers/decorators that support random-access beyond plain sequential read (e.g. seekable)

    interface StreamHandle<K extends ChunkKind = ChunkKind> {
        kind: K;
        stream: ReadableStream<ChunkOfKind<K>> | WritableStream<ChunkOfKind<K>>;
    }

    Type Parameters

    Index
    kind: K
    stream: ReadableStream<ChunkOfKind<K>> | WritableStream<ChunkOfKind<K>>