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

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

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
interface SyncerOpts
import { type SyncerOpts } from "https://deno.land/x/earthstar@v10.0.0-alpha.4/src/syncer/syncer_types.ts";

Options to initialise a Syncer with.

  • peer - The peer to synchronise.
  • partner - Determines who you'll be syncing with (e.g. a remote peer on a server, a local peer)
  • mode - Determines what kind of sync to carry out.
  • formats - An optional array of formats to sync. Defaults to just es.5.