Macro lazy_async_promise::unpack_result
source · macro_rules! unpack_result { ( $result: expr, $sender: expr ) => { ... }; }
Expand description
Error checking in async updater functions is tedious - this helps out by resolving results and sending errors on error. Result will be unwrapped if no error occurs.