RTCForge API Reference v1.1.1
    Preparing search index...

    Interface SinkResult

    Outcome of a completed transfer, returned by StorageSink.close.

    Which fields are populated depends on the sink: in-memory sinks return blob/bytes, filesystem sinks return a path.

    interface SinkResult {
        blob?: Blob;
        bytes?: Uint8Array<ArrayBufferLike>;
        path?: string;
    }
    Index

    Properties

    Properties

    blob?: Blob

    The received data as a Blob, when the sink materialised one.

    bytes?: Uint8Array<ArrayBufferLike>

    The received data as raw bytes, when the sink materialised them.

    path?: string

    Filesystem path the data was written to, for file-backed sinks.