feat: hide internal function

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
MiaoWoo 2020-10-02 16:21:09 +08:00
parent eaaa0ef139
commit e8b3d43cdf

View File

@ -29,7 +29,6 @@ export namespace task {
if (plugin) { return this.pluginCreate(plugin, task) }
return task
}
abstract create0(func: Function): task.Task
/**
* 线
* @param func
@ -42,7 +41,8 @@ export namespace task {
if (plugin) { return this.pluginDisable(plugin) }
this.disable0()
}
abstract disable0()
protected abstract create0(func: Function): task.Task
protected abstract disable0()
}
/**
*
@ -116,7 +116,7 @@ export namespace task {
*
* @param args
*/
abstract submit0(...args: any[]): Cancelable
protected abstract submit0(...args: any[]): Cancelable
}
/**
*