orep-js/sunpy/core/utils.js
2020-04-21 00:03:26 +02:00

3 lines
77 B
JavaScript

export function sleep(ms) {
return new Promise(_ => setTimeout(_, ms));
}