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

    Interface Part<K>

    One independently readable/writable part of a multipart transfer, carrying a homogeneous stream of a single declared PayloadKind. Parts may be processed concurrently (e.g. Promise.all over N parts); the provider assembles/commits them once all parts finish.

    interface Part<K extends PayloadKind = PayloadKind> {
        index: number;
        kind: K;
        offset: number;
        stream: ReadableStream<ItemOfKind<K>> | WritableStream<ItemOfKind<K>>;
        complete(): Promise<void>;
    }

    Type Parameters

    Index
    index: number
    kind: K
    offset: number
    stream: ReadableStream<ItemOfKind<K>> | WritableStream<ItemOfKind<K>>