cooklang_sync_client

Function run_async

Source
pub async fn run_async(
    storage_dir: &str,
    db_file_path: &str,
    api_endpoint: &str,
    remote_token: &str,
    namespace_id: i32,
    download_only: bool,
) -> Result<(), SyncError>
Expand description

Runs local files watch and sync from/to remote continuously.