AwaitableSink<T> class abstract

AwaitableSink is an EventSink that allows you to wait for the data to be consumed.

Implemented types
Implementers

Constructors

AwaitableSink()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(T data) FutureOr<void>
Add data to the sink.
override
addError(Object error, [StackTrace? stackTrace]) FutureOr<void>
Add an error to the sink.
override
close([Option<T> data]) FutureOr<void>
Close the sink
override
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