CoroutineExecutor class mixin

Constructors

CoroutineExecutor()

Properties

countCoroutines int
The count of running coroutines
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addCoroutine<T>(Coroutine<T> coroutine) → void
Adds a coroutine to the executor without starting it Does nothing if the coroutine is already running
isCoroutineRunning(Coroutine coroutine) bool
Returns whether a coroutine is currently running
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runAllCoroutines() → void
Continues all coroutines in this executor
runCoroutine<T>(Coroutine<T> coroutine) → T?
Starts or continues a coroutine It starts or continues its execution depending on its current state If the coroutine is paused, it resumes execution from the last yield point
stopAllCoroutines() → void
Stops all coroutines in this executor
stopCoroutine(Coroutine coroutine) → void
Stops a coroutine
toString() String
A string representation of this object.
inherited

Operators

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