[][src]Macro indigo_macros::attempt_async

macro_rules! attempt_async {
    ($($tokens:tt)+) => { ... };
}

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.