TaskQueueManager class
任务队列
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- taskAllFinishedCallback ↔ Function?
-
任务完成回调
getter/setter pair
-
taskList
↔ List<
_TaskInfo> -
创建一个任务队列
getter/setter pair
Methods
-
addTask(
Function doSomeThing) → Future< _TaskInfo> - 添加任务到队列
-
cancelTask(
) → void - 取消任务
-
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
Static Methods
-
instance(
String key) → TaskQueueManager - 根据key来获取实例Map中对应的单例