pub async fn spawn_kitsune_p2p(
    config: KitsuneP2pConfig,
    tls_config: TlsConfig,
    host: Arc<dyn KitsuneHost + 'static>
) -> impl Future<Output = Result<(GhostSender<KitsuneP2p>, Receiver<KitsuneP2pEvent>), KitsuneP2pError>>
Expand description

Spawn a new KitsuneP2p actor.