The code that I was able to rewrite from combinators to `async`/`await!` is certainly cool... But the need to pass a `Context` argument to absolutely everywhere I couldn't rewrite makes me want to re-open that can of worms...
-
-
Like, what if we need to pass around `Thread` from `main`, instead of being able to call `thread::current()`? That'd be horrible.
Show this thread -
It seems unfortunate to use revised `Future`/`Stream`/`AsyncRead` etc traits where the task is in TLS, but passing around the `Context` everywhere is just bad enough...
Show this thread
End of conversation
New conversation -
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.