Function hotshot::tasks::add_network_message_task
source ยท pub fn add_network_message_task<TYPES: NodeType, I: NodeImplementation<TYPES>, NET: ConnectedNetwork<TYPES::SignatureKey>, V: Versions>(
handle: &mut SystemContextHandle<TYPES, I, V>,
channel: &Arc<NET>,
)
Expand description
Add the network task to handle messages and publish events.