Constructors
constructor
- new Tasks(socket: any): Tasks
Methods
close
- close(uid: string, callback?: (error: Error) => void): Promise<void>
-
Parameters
-
uid: string
-
Optional callback: (error: Error) => void
Returns Promise<void>
list
-
Parameters
-
Optional callback: (error: Error, outcome: TaskOutcome) => void
stop
- stop(uid: string, callback?: (error: Error) => void): Promise<void>
-
Parameters
-
uid: string
-
Optional callback: (error: Error) => void
Returns Promise<void>
Close a terminated task from the list of tasks.