Skip to content

ReadableStreamBYOBReader

[<Interface>]
type ReadableStreamBYOBReader =
    static member Create<'T> (closed: Promise<unit>, cancel: obj option -> Promise<unit>, read: Func<'T,Options option,Promise<U2<ReadableStreamReadDoneResult<'T>,ReadableStreamReadValueResult<'T>>>>, releaseLock: unit -> unit) : ReadableStreamBYOBReader
AssemblyXantham.Fable.Node
Implements_ReadableStreamBYOBReader
Attributes[<Interface>]

ReadableStreamBYOBReader class is a global reference for import { ReadableStreamBYOBReader } from 'node:stream/web'. https://nodejs.org/api/globals.html#class-readablestreambyobreader

@since v18.0.0

Methods

static member Create<'T> (closed: Promise<unit>, cancel: obj option -> Promise<unit>, read: Func<'T,Options option,Promise<U2<ReadableStreamReadDoneResult<'T>,ReadableStreamReadValueResult<'T>>>>, releaseLock: unit -> unit) : ReadableStreamBYOBReader