macro_rules! attempt_async {
($($tokens:tt)+) => { ... };
}
Expand description
Runs a block of async code and catches ?
operator returns.
This is just a cleaner version of creating a closure and immediately calling
it. It is intended to serve as a replacement for try { .. }
until it is
stable.