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>,
channel: Arc<NET>,
membership: TYPES::Membership,
filter: fn(_: &Arc<HotShotEvent<TYPES>>) -> bool
)
Expand description
Add the network task to handle events and send messages.