SerialQueue class final

Runs asynchronous tasks one at a time, in submission order.

A failing task does not block the tasks queued after it.

Constructors

SerialQueue()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run<T>(Future<T> task()) → Future<T>
Schedules task after every previously scheduled task has completed and returns its result.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited