reference
Class: Result<TData>
activity/results.Result
Type parameters
Name | Type |
---|---|
TData | any |
Implements
ResultData
<TData
>
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new Result<TData
>(props
)
Type parameters
Name | Type |
---|---|
TData | any |
Parameters
Name | Type |
---|---|
props | ResultData <any > |
Defined in
Properties
index
• index: number
Index of script command
Implementation of
Defined in
eventDate
• eventDate: string
The datetime of the event on which the result was received
Implementation of
Defined in
result
• result: ExeScriptCommandResultResultEnum
If is success
Implementation of
Defined in
stdout
• Optional
stdout: null
| string
| ArrayBuffer
stdout of script command
Implementation of
Defined in
stderr
• Optional
stderr: null
| string
| ArrayBuffer
stderr of script command
Implementation of
Defined in
message
• Optional
message: null
| string
an error message if the result is not successful
Implementation of
Defined in
isBatchFinished
• Optional
isBatchFinished: boolean
Is batch of already finished
Implementation of
Defined in
data
• Optional
data: TData
In case the command was related to upload or download, this will contain the transferred data
Implementation of
Defined in
Methods
getOutputAsJson
▸ getOutputAsJson<Output
>(): Output
Helper method making JSON-like output results more accessible
Type parameters
Name | Type |
---|---|
Output | object |
Returns
Output