@nextcloud/files
    Preparing search index...

    Interface ReadableStreamBYOBReader

    interface ReadableStreamBYOBReader {
        closed: Promise<void>;
        cancel(reason?: any): Promise<void>;
        read<T extends NonSharedArrayBufferView>(
            view: T,
            options?: ReadableStreamBYOBReaderReadOptions,
        ): Promise<ReadableStreamReadResult<T>>;
        releaseLock(): void;
    }

    Hierarchy (View Summary)

    Index
    closed: Promise<void>
    • Parameters

      • Optionalreason: any

      Returns Promise<void>

    • Returns void