Function iroh_docs::net::connect_and_sync

source ยท
pub async fn connect_and_sync(
    endpoint: &Endpoint,
    sync: &SyncHandle,
    namespace: NamespaceId,
    peer: NodeAddr,
) -> Result<SyncFinished, ConnectError>
Expand description

Connect to a peer and sync a replica