Love this post from dtolnay about async/await, captures really well the advantages that lead us to push this so hard to the finish line these last 2 yearshttps://twitter.com/pcwalton/status/1159824820256645121 …
Only the serve method is async, but there is one async entry point that bundles init and serve so they end up in one future. This way downstream can handle errors uniformly together. The same program would be running other async tasks too, like background stats aggregation.
-
-
OK, that makes reasonable sense to my not-at-all-Rustacean brain, thank you
Thanks. 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.