TaskyManager class
Constructors
- TaskyManager({int isolateCount = 4, int maxIsolates = 10})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isolateCount ↔ int
-
getter/setter pair
- maxIsolates → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addTask(
Function function, List args, int priority, {int maxRetries = 3}) → String -
getIsolateStatuses(
) → List< Map< String, dynamic> > -
getIsolateStatusesStream(
) → Stream< List< Map< >String, dynamic> > -
getResultStream(
String taskId) → Stream< TaskResult> -
killTask(
String taskId) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shutdown(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited