Skip to content

@continuum-js/test


@continuum-js/test / flush

Function: flush() ​

flush(rounds?): Promise<void>

Defined in: index.ts:66

Drain the microtask queue so settled promises (e.g. perform results) re-enter the network. Transactions themselves are synchronous — this only waits for the JS runtime, not for Continuum.

Parameters ​

rounds? ​

number = 3

Returns ​

Promise<void>