runMicrotasks()function
runMicrotasks(): Promise<void>
| Return | |
|---|---|
Promise<void> | A promise that resolves after all currently-queued microtasks have run. |
Run any queued microtasks now.
Examples
await runMicrotasks();
runMicrotasks(): Promise<void>
| Return | |
|---|---|
Promise<void> | A promise that resolves after all currently-queued microtasks have run. |
Run any queued microtasks now.
await runMicrotasks();