pub async fn test_network_with_events<F>(
    dna_hash: Option<DnaHash>,
    agent_key: Option<AgentPubKey>,
    filter: F,
    evt_send: Sender<HolochainP2pEvent>
) -> TestNetwork where
    F: Fn(&HolochainP2pEvent) -> bool + Send + 'static, 
Expand description

Convenience constructor for cell networks where you need to filter some events into a channel