Constructors
constructor
- new SDTask(client, task_id): SDTask
Properties
Protected
Optional
error
error?: any
Protected
Optional
results
results?: TaskResult[]
Readonly
task_id
task_id: string
Methods
Protected
errWrap
- errWrap<T>(callback): Promise<undefined | T>
Returns Promise<undefined | T>
interrupt
- interrupt(): Promise<void>
Returns Promise<void>
run
- run(): Promise<undefined | TaskResult[]>
Returns Promise<undefined | TaskResult[]>