Function use_radio

Source
pub fn use_radio<Value, Channel>(channel: Channel) -> Radio<Value, Channel>
where Channel: RadioChannel<Value>, Value: 'static,
Expand description

Consume the state and subscribe using the given channel Any mutation using this radio will notify other subscribers to the same channel, unless you explicitely pass a custom channel using other methods as Radio::write_channel()