Function holochain_p2p::spawn_holochain_p2p

source ·
pub async fn spawn_holochain_p2p(
    config: KitsuneP2pConfig,
    tls_config: TlsConfig,
    host: HostApi,
    compat: NetworkCompatParams
) -> HolochainP2pResult<(GhostSender<HolochainP2p>, HolochainP2pEventReceiver)>
Expand description

Spawn a new HolochainP2p actor. Conductor will call this on initialization.