Finish this sentence: I would use native promises (instead of bluebird, RSVP) if only they _________.
-
-
Replying to @wycats
if there was a native way to transform callbacks into promises, had finally, and were cancelable.
1 reply 0 retweets 2 likes -
Replying to @andrewdaustin
you mean node-style, err-first, callback-taking functions?
1 reply 0 retweets 0 likes -
Replying to @wycats
Yes. Dealing with lots of code written with node style callbacks. Want to move to 100% promises, but need intermediate step first.
1 reply 0 retweets 0 likes
Replying to @andrewdaustin
cool. Nice benefit of converting callbacks to promises is protected from buggy code calling callbacks twice.
7:00 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.