Function holochain::prelude::spawn_holochain_p2p
source · pub async fn spawn_holochain_p2p(
config: KitsuneP2pConfig,
tls_config: TlsConfig,
host: Arc<dyn KitsuneHost>
) -> impl Future<Output = Result<(GhostSender<HolochainP2p>, Receiver<HolochainP2pEvent>), HolochainP2pError>>
Expand description
Spawn a new HolochainP2p actor. Conductor will call this on initialization.