import { type SyncAgentOpts } from "https://deno.land/x/earthstar@v10.0.0-alpha.2/mod.browser.ts";
Options used for initialisng a SyncAgent
.
replica
: The replica to represent.mode
: Whether to sync only existing docs or keep the connection open for new docs too.
definition: { replica: Replica; formats?: FormatsArg<F>; mode: "only_existing" | "live"; transferManager: TransferManager<F, unknown>; }