Home > @rushstack/operation-graph > IWatchLoopOptions
IWatchLoopOptions interface
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Callbacks for the watch loop.
Signature:
export interface IWatchLoopOptions
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
(state: IWatchLoopState) => Promise<OperationStatus> | (BETA) Callback that performs the core work of a single iteration. | ||
() => void | (BETA) Logging callback when a run is aborted. | ||
() => void | (BETA) Logging callback immediately before execution occurs. | ||
(BETA) Logging callback when a run is requested (and hasn't already been). |