API reference@evolu/commonWorker › testWaitForWorkerMessage

function testWaitForWorkerMessage(): Promise<void>;

Defined in: packages/common/src/Worker.ts:609

Waits until scheduled in-memory worker message delivery becomes idle.

This observes actual transport tasks instead of waiting for an arbitrary duration. It also waits through message handlers that schedule more worker tasks before the current microtask checkpoint completes.