waitIfPaused function
Last updated: 2026-03-05T10:53:28.864Z
Metrics
LOC: 6
Complexity: 2
Params: 0
Signature
waitIfPaused(): : Promise<void>
Source Code
async function waitIfPaused(): Promise<void> {
if (status !== "paused") return;
return new Promise<void>((resolve) => {
pauseResolve = resolve;
});
}
No outgoing dependencies.
Impact (Incoming)
| Source | Type |
|---|---|
| runLoop | calls |