macro_rules! on_receive_dispatch {
() => { ... };
}Expand description
This macro is used for the value of the to_future_hack parameter of
Builder::on_receive_dispatch and Builder::on_receive_dispatch_from.
It expands to |f, dispatch, cx| Box::pin(f(dispatch, cx)).
This is needed until return-type notation is stabilized.