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