Function futures_intrusive::channel::shared::state_broadcast_channel
source · pub fn state_broadcast_channel<T>() -> (StateSender<T>, StateReceiver<T>)where
T: Clone + Send,
Expand description
Creates a new state broadcast channel.
Refer to generic_state_broadcast_channel
for details.
Example for creating a channel to transmit an integer value:
let (sender, receiver) = state_broadcast_channel::<i32>();