Home > @holochain/tryorama > pause
A utility function to wait the given amount of time.
Signature:
pause: (milliseconds: number) => Promise<unknown>
Parameter |
Type |
Description |
---|---|---|
milliseconds |
number |
The number of milliseconds to wait. |
Promise<unknown>
A promise that is resolved after the given amount of milliseconds.