mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-27 01:11:05 +00:00
dcd863eed8
On devices with bandwidth sensitivity, this config var disables sending system information such as memory usage or cpu temp as current state. Closes: #1645 Change-type: minor Signed-off-by: Christina Wang <christina@balena.io>
7 lines
166 B
TypeScript
7 lines
166 B
TypeScript
/**
|
|
* Delays for input ms before resolving
|
|
*/
|
|
export async function sleep(ms: number): Promise<void> {
|
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
}
|