feat: cancel all task when disable engine
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
		@@ -11,6 +11,10 @@ export namespace task {
 | 
			
		||||
         * @param func 执行内容
 | 
			
		||||
         */
 | 
			
		||||
        callSyncMethod(func: Function): any;
 | 
			
		||||
        /**
 | 
			
		||||
         * 关闭任务管理器
 | 
			
		||||
         */
 | 
			
		||||
        disable();
 | 
			
		||||
    }
 | 
			
		||||
    /**
 | 
			
		||||
     * 任务抽象
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user