Function iroh_docs::net::handle_connection
source · pub async fn handle_connection<F, Fut>(
sync: SyncHandle,
connecting: Connecting,
accept_cb: F
) -> Result<SyncFinished, AcceptError>
Available on crate feature
net
only.Expand description
Handle an iroh-docs connection and sync all shared documents in the replica store.