Macro relm4::send

source ·
macro_rules! send {
    ($sender:expr, $msg:expr) => { ... };
}
👎Deprecated since 0.5.0-beta.1: Use sender.input(msg) instead.
Expand description

A short macro for conveniently sending messages.

The message is sent using the sender and the Result is unwrapped automatically.