Files
Signal-Desktop/js/modules/sleep.js
Daniel Gasienica 21147a20a0 Add sleep module
2018-04-02 12:17:36 -04:00

5 lines
98 B
JavaScript

/* global setTimeout */
exports.sleep = ms =>
new Promise(resolve => setTimeout(resolve, ms));