This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
signal-desktop
Watch
2
Star
0
Fork
You've already forked signal-desktop
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
a934759e66
signal-desktop
/
js
/
modules
/
sleep.js
4 lines
96 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Add `sleep` module
2018-03-28 21:13:11 +00:00
/* global setTimeout */
Format all source code using Prettier
2018-04-27 21:25:04 +00:00
exports
.
sleep
=
ms
=>
new
Promise
(
resolve
=>
setTimeout
(
resolve
,
ms
)
)
;
Reference in a new issue
Copy permalink