MonitorInfo
This interface gives access to all the useful bits related to asynchronous operations:
1
export interface MonitorInfo {
2
inProgressActions?: AsynAction<any>[],
3
currentAction?: AsynAction<any>,
4
status?: MonitorStatus,
5
}
Copied!
Property
Description
inProgressActions
Type: AsynAction<any>[]
all the actions currently in progress in this Conan state
currentAction
Type: AsynAction<any>
The current action being executed
status
Type: MonitorStatus
The current status of this monitor
​
The possible values for MonitorStatus are:
1
export enum MonitorStatus {
2
IDLE = 'IDLE',
3
ASYNC_START = "ASYNC_START",
4
ASYNC_FULFILLED = "ASYNC_FULFILLED",
5
ASYNC_CANCELLED = "ASYNC_CANCELLED",
6
}
Copied!
Last modified 1yr ago
Copy link