@xylabs/delay

Base functionality used throughout XY Labs TypeScript/JavaScript libraries
Install
Using npm:
npm install {{name}}
Using yarn:
yarn add {{name}}
Using pnpm:
pnpm add {{name}}
Using bun:
bun add {{name}}
License
See the LICENSE file for license rights and limitations (LGPL-3.0-only).
Reference
packages
delay
### .temp-typedoc
### functions
### <a id="delay"></a>delay
@xylabs/delay
function delay(ms): Promise<unknown>;
Returns a promise that resolves after the specified number of milliseconds.
Parameters
ms
number
The number of milliseconds to delay.
Returns
Promise<unknown>
A promise that resolves after the delay.