macro_rules! flow_ok { ($x:expr) => { ... }; }
Expand description
Breaks the control-flow if the result of the block implements ConsumedEvent and ConsumedEvent::is_consumed is true for the result.
It then does the classic into()-conversion and wraps the
result in Ok().
Special widget result-types are encourage to map down to Outcome as a baseline.
The difference to flow is that this one Ok-wraps the result.