feat: update command and complate task
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
@ -1,9 +0,0 @@
|
||||
export namespace task {
|
||||
export const Task = Symbol('Task')
|
||||
export interface Task {
|
||||
run(func: Function): void;
|
||||
async(func: Function): void;
|
||||
later(tick: number): task.Task;
|
||||
timer(tick: number): task.Task;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user