export function sleepAsync(ms) { return new Promise(resolve => { setTimeout(resolve, ms); }); }