Skip to main content

run_setup

Function run_setup 

Source
pub async fn run_setup(
    link: Link,
    database: &Database,
    host: &dyn ClientHost,
    invitation: &SetupInvitation,
    progress: &(dyn Fn(Progress) + Sync),
) -> Result<Outcome>
Expand description

Sets up sync from this database, or resumes the setup it started. The caller confirms a fresh setup first; a resumed one continues the original capture and never recaptures.