WritableStream
[<Interface>]
type WritableStream<'W> =
abstract member locked: bool
static member Create (locked: bool, abort: obj option -> Promise<unit>, close: unit -> Promise<unit>, getWriter: unit -> WritableStreamDefaultWriter<'W>) : WritableStream<'W>
abstract member abort (?reason: obj) : Promise<unit>
abstract member close () : Promise<unit>
abstract member getWriter () : WritableStreamDefaultWriter<'W>| Assembly | Xantham.Fable.Node |
| Attributes | [<Interface>] |
This Streams API interface provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in back pressure and queuing.
Properties
abstract member locked: boolMethods
static member Create (locked: bool, abort: obj option -> Promise<unit>, close: unit -> Promise<unit>, getWriter: unit -> WritableStreamDefaultWriter<'W>) : WritableStream<'W>