Skip to content

_WritableStreamDefaultController

[<Interface>]
type _WritableStreamDefaultController =
    static member Create (error: obj option -> unit) : _WritableStreamDefaultController
    abstract member error (?e: obj) : unit
AssemblyXantham.Fable.Node
Attributes[<Interface>]

This Streams API interface represents a controller allowing control of a WritableStream's state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate.

Methods

static member Create (error: obj option -> unit) : _WritableStreamDefaultController
abstract member error (?e: obj) : unit