Skip to main content
Module

x/earthstar/src/entries/universal.ts>SyncAppetite

Storage for private, distributed, offline-first applications.
Go to Latest
type alias SyncAppetite
Re-export
import { type SyncAppetite } from "https://deno.land/x/earthstar@v10.0.2/src/entries/universal.ts";

An 'appetite' which determines when the syncer will stop syncing.

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