waitForAllAsyncOperations
Waits for all fire-and-forget operations tracked since enableAsyncOperationTracking was called to settle.
Operations scheduled while awaiting are also awaited, so cascading fire-and-forget chains are fully drained.
Import:
import { waitForAllAsyncOperations } from 'obsidian-dev-utils/async';Signature:
function waitForAllAsyncOperations(): Promise<void>Returns: Promise<void> — A Promise that resolves once no tracked operations remain pending.
Links to this page: