Last active
March 8, 2019 14:40
-
-
Save awto/7a58fedfd3e8f5d64bcafae51dbd3189 to your computer and use it in GitHub Desktop.
Run Promise
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 runPromise = run( | |
v => Promise.resolve(v), | |
(arg, f) => arg.then(f)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment