Skip to content

ReadableOptions

[<Interface>]
type ReadableOptions<'T when 'T :> Readable> =
    abstract member destroy: Destroy option with get, set
    abstract member encoding: BufferEncoding option with get, set
    abstract member read: (float -> unit) option with get, set
    static member Create (?encoding: BufferEncoding, ?read: (float -> unit), ?signal: AbortSignal, ?emitClose: bool, ?highWaterMark: float, ?objectMode: bool, ?construct: ((exn option -> unit) -> unit), ?destroy: Destroy, ?autoDestroy: bool) : ReadableOptions<'T>
AssemblyXantham.Fable.Node
ImplementsStreamOptions<'T>
Attributes[<Interface>]

Declared inside

Destroy

Properties

abstract member destroy: Destroy option with get, set
abstract member encoding: BufferEncoding option with get, set
abstract member read: (float -> unit) option with get, set

Methods

static member Create (?encoding: BufferEncoding, ?read: (float -> unit), ?signal: AbortSignal, ?emitClose: bool, ?highWaterMark: float, ?objectMode: bool, ?construct: ((exn option -> unit) -> unit), ?destroy: Destroy, ?autoDestroy: bool) : ReadableOptions<'T>