Function holochain::prelude::spawn_kitsune_p2p
source · pub async fn spawn_kitsune_p2p(
config: KitsuneP2pConfig,
tls_config: TlsConfig,
host: Arc<dyn KitsuneHost, Global>
) -> impl Future<Output = Result<(GhostSender<KitsuneP2p>, Receiver<KitsuneP2pEvent>), KitsuneP2pError>>
Expand description
Spawn a new KitsuneP2p actor.