Skip to content

Options

[<Interface>]
type Options =
    abstract member encoding: BufferEncoding option with get, set
    abstract member highWaterMark: float option with get, set
    abstract member objectMode: bool option with get, set
    abstract member signal: AbortSignal option with get, set
    static member Create (?signal: AbortSignal, ?highWaterMark: float, ?objectMode: bool, ?encoding: BufferEncoding) : Options
AssemblyXantham.Fable.Node
Attributes[<Interface>]

Properties

abstract member encoding: BufferEncoding option with get, set
abstract member highWaterMark: float option with get, set
abstract member objectMode: bool option with get, set
abstract member signal: AbortSignal option with get, set

When provided the corresponding AbortController can be used to cancel an asynchronous action.

Methods

static member Create (?signal: AbortSignal, ?highWaterMark: float, ?objectMode: bool, ?encoding: BufferEncoding) : Options