mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-20 22:23:07 +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);
|
||
|
});
|
||
|
}
|