A TC39 Day 1 follow-up about Promises on @the_feedback_loop: https://thefeedbackloop.xyz/tc39-promises-promises/ … (covers Promise.try and general philosophy)
-
-
Replying to @wycats
is Promise.try(f) different to Promise.resolve().then(f)?
2 replies 0 retweets 0 likes -
Replying to @jaffathecake
yes, the callback runs right away, but exceptions are caught.
1 reply 0 retweets 2 likes
Replying to @wycats @jaffathecake
more like new Promise(res => res(f()))
11:37 PM - 1 Dec 2016
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.