Function use_radio
pub fn use_radio<Value, Channel>(channel: Channel) -> Radio<Value, Channel>where
Channel: RadioChannel<Value>,
Value: 'static,Available on crate feature
radio only.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()