mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-27 17:18:51 +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);
|
||
|
});
|
||
|
}
|