pub async fn sync_remote_changes<K, S>(
    local_sphere_identity: &str,
    client: &Client<K, SphereDb<S>>,
    credential: &K,
    authorization: Option<&Authorization>,
    db: &mut SphereDb<S>
) -> Result<()>where
    K: KeyMaterial,
    S: Store,
Expand description

Fetches the latest changes from a gateway and updates the local lineage using a conflict-free rebase strategy