MonitorInfo

This interface gives access to all the useful bits related to asynchronous operations:

export interface MonitorInfo {
    inProgressActions?: AsynAction<any>[],
    currentAction?: AsynAction<any>,
    status?: MonitorStatus,
}

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:

export enum MonitorStatus {
    IDLE = 'IDLE',
    ASYNC_START = "ASYNC_START",
    ASYNC_FULFILLED = "ASYNC_FULFILLED",
    ASYNC_CANCELLED = "ASYNC_CANCELLED",
}

Last updated