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