Class: pipeline
小于 1 分钟
Class: pipeline
task.pipeline
任务管线
Remarks
顺序执行任务
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new pipeline()
Properties
event
• event: event_target
<event_protocol
>
事件
Defined in
assets/@framework/task/mk_task_pipeline.ts:29
Accessors
pause_b
• get
pause_b(): boolean
暂停状态
Returns
boolean
Defined in
assets/@framework/task/mk_task_pipeline.ts:31
• set
pause_b(value_b_
): void
Parameters
Name | Type |
---|---|
value_b_ | boolean |
Returns
void
Defined in
assets/@framework/task/mk_task_pipeline.ts:35
Methods
add
▸ add(task_f_
): Promise
<void
>
添加任务
Parameters
Name | Type | Description |
---|---|---|
task_f_ | Function | 任务函数 |
Returns
Promise
<void
>
当前任务 Promise