Last active
October 10, 2017 18:37
-
-
Save silesky/53627dd1236646e302c3ce492b046c1d to your computer and use it in GitHub Desktop.
blog_fake_asyncify
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const timer = asyncify(() => { | |
promiseTimeout(1000) // pseudo-code | |
promiseTimeout(2000) | |
promiseTimeout(3000) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment