Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/earthstar/src/entries/npm.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.2.0/src/entries/npm.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"