Skip to main content
Module

x/earthstar/mod.ts>SyncerMode

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
type alias SyncerMode
Re-export
import { type SyncerMode } from "https://deno.land/x/earthstar@v10.0.0-alpha.2/mod.ts";

A mode which determines when the syncer will stop syncing.

  • once - The syncer will only attempt to sync existing docs and then stop.
  • live - Indefinite syncing, including existing docs and new ones as they are ingested into the replica.
definition: "once" | "live"