Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/earthstar/src/syncer/syncer_types.ts>SyncAppetite

Storage for private, distributed, offline-first applications.
Go to Latest
type alias SyncAppetite
import { type SyncAppetite } from "https://deno.land/x/earthstar@v10.2.2/src/syncer/syncer_types.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"