mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-21 14:37:49 +00:00
ba1c857c4f
Closes: #1530 Change-type: patch Signed-off-by: Miguel Casqueira <miguel@balena.io>
4 lines
118 B
TypeScript
4 lines
118 B
TypeScript
export async function sleep(ms: number): Promise<void> {
|
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
}
|