WritableStreamDefaultController extension type
The WritableStreamDefaultController
interface of the
Streams API
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.
API documentation sourced from MDN Web Docs.
- on
- Implemented types
- Available extensions
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signal → AbortSignal
-
The read-only
signal
property of the WritableStreamDefaultController interface returns the AbortSignal associated with the controller.no setter
Methods
-
error(
[JSAny? e]) → void -
The
error()
method of the WritableStreamDefaultController interface causes any future interactions with the associated stream to error. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited