Home > @rushstack/operation-graph > WatchLoop > runUntilAbortedAsync
WatchLoop.runUntilAbortedAsync() method
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.
Runs the inner loop until the abort signal is aborted. Will otherwise wait indefinitely for a new run to be requested.
Signature:
runUntilAbortedAsync(abortSignal: AbortSignal, onWaiting: () => void): Promise<void>;
Parameters
Parameter | Type | Description |
|---|---|---|
abortSignal | AbortSignal | |
onWaiting | () => void |
Returns:
Promise<void>