Function iroh_docs::net::handle_connection

source ยท
pub async fn handle_connection<F, Fut>(
    sync: SyncHandle,
    connecting: Connecting,
    accept_cb: F,
) -> Result<SyncFinished, AcceptError>
where F: Fn(NamespaceId, PublicKey) -> Fut, Fut: Future<Output = AcceptOutcome>,
Expand description

Handle an iroh-docs connection and sync all shared documents in the replica store.