Constructors
Properties
Readonly
nodeId
nodeId: unknown
Readonly
request
request: unknown
Readonly
taskName
taskName: string
Methods
addStream
- addStream(name, file): void
Parameters
- name: string
- file: unknown
Returns void
detailsUpdate
- detailsUpdate(detailsUpdateCallback): Task
Parameters
- detailsUpdateCallback: ((details: unknown) => void)
- (details): void
Returns void
error
- error(errorCallback): Task
Parameters
- errorCallback: ((error: unknown, response: unknown) => void)
- (error, response): void
Parameters
- error: unknown
- response: unknown
Returns void
execAsPromise
- execAsPromise(returnResponse): Promise<unknown>
Returns Promise<unknown>
log
- log(levels, logCallback): Task
Parameters
- levels: string[]
- logCallback: ((level: string, log: unknown) => void)
- (level, log): void
Parameters
- level: string
- log: unknown
Returns void
metricDefinitionUpdate
- metricDefinitionUpdate(keys, metricDefinitinUpdateCallback): Task
Parameters
- keys: string[]
- metricDefinitinUpdateCallback: ((metricDefinition: unknown) => void)
- (metricDefinition): void
Parameters
- metricDefinition: unknown
Returns void
metricUpdate
- metricUpdate(keys, metricUpdateCallback): Task
Parameters
- keys: string[]
- metricUpdateCallback: ((metricUpdate: unknown) => void)
- (metricUpdate): void
Returns void
newBinaryData
- newBinaryData(topicIds, dataListener): Task
Parameters
- topicIds: string[]
- dataListener: ((data: unknown) => void)
newData
- newData(topicIds, dataListener): Task
Parameters
- topicIds: string[]
- dataListener: ((data: unknown) => void)
progress
- progress(progressCallback): Task
Parameters
- progressCallback: ((label: string, progress: number) => void)
- (label, progress): void
Parameters
- label: string
- progress: number
Returns void
send
- send(topicId, message): void
Parameters
- topicId: string
- message: unknown
Returns void
setTimeOut
- setTimeOut(value, unit): Task
Parameters
- value: number
- unit: string
statusChange
- statusChange(statusses, statusChangeCallback): Task
Parameters
- statusses: string[]
- statusChangeCallback: ((status: string) => void)
- (status): void
Returns void
success
- success(successCallback): Task
Parameters
- successCallback: ((result: unknown, fullresponse: unknown) => void)
- (result, fullresponse): void
Parameters
- result: unknown
- fullresponse: unknown
Returns void
taskInfo
- taskInfo(taskInfoCallback): Task
Parameters
- taskInfoCallback: ((taskInfo: unknown) => void)
- (taskInfo): void
Returns void
terminate
- terminate(): void
Returns void