Yessssss! The Waker simplification for Futures has been merged into the main RFC! -- https://github.com/aturon/rfcs/pull/16 … So no more LocalWaker / Waker distinction. Only 1 Waker type is needed to signal a Future is ready. This means we're *so close* to having Futures land on stable!
-
-
Oh oh, another difference: Futures are polled immediately*, allowing them to start work right away and wait for a callback. In practice this means that unlike Promises, sync Futures don't suffer from nextTick delays. * This depends on the scheduler, but it's generally true.
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
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.