TakeCallback<T> class
A callback class containing callback functions to handle Channel.take
Constructors
-
TakeCallback(DataCallback<
T> onData) - Creates an instance of a TakeCallback class
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onData
→ DataCallback<
T> -
Channel will invoke on a successfull take with action
or on a channel close with End
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancel(
) → void - Used to cancel this awaiting take callback
-
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