What's a food resource for learning about @rustlang async these days?
-
-
When you call foo(), nothing happens except you get a lazy future that is yet to do something. You can then do foo().await to await its result, or do spawn(foo()) to start evaluating it the background. Note that spawn() itself gives you a future and is technically an async fn.
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.