orep-js/sunpy/core/utils.js

3 lines
77 B
JavaScript
Raw Normal View History

2020-04-21 00:03:26 +02:00
export function sleep(ms) {
return new Promise(_ => setTimeout(_, ms));
}