mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-24 07:46:39 +00:00
6 lines
110 B
TypeScript
6 lines
110 B
TypeScript
|
export async function delay(ms: number) {
|
||
|
await new Promise((resolve) => {
|
||
|
setTimeout(resolve, ms);
|
||
|
});
|
||
|
}
|