cooklang_sync_client::syncer

Function run

Source
pub async fn run(
    pool: &ConnectionPool,
    storage_path: &Path,
    namespace_id: i32,
    chunker: &mut Chunker,
    remote: &Remote,
    local_registry_updated_rx: Receiver<IndexerUpdateEvent>,
    read_only: bool,
) -> Result<(), SyncError>