ConcurrentQueue class
Constructors
Properties
- concurrency ↔ int
-
getter/setter pair
-
eventStream
→ Stream<
QueueEvent> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isPaused → bool
-
no setter
- pending → int
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
no setter
- timeout ↔ Duration
-
getter/setter pair
Methods
-
add<
T> (Task< T> task, {int priority = 0, dynamic key}) → Future<T> -
addAll<
T> (List< Task< tasks, {int priority = 0}) → Future<T> >List< T> > -
clear(
) → void -
emit(
QueueEventAction event, [dynamic result]) → void -
indexOf(
dynamic key) → int -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
on(
QueueEventAction action, void event(QueueEvent)) → StreamSubscription -
onEmpty(
) → Future< void> -
onIdle(
) → Future< void> -
pause(
) → void -
remove(
dynamic key) → RunFunction? -
start(
) → ConcurrentQueue -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited