Skip to main content
Module

x/earthstar_replica_server/deps.ts>Earthstar.SyncerOpts

An always-online Earthstar peer for your shares.
Latest
interface Earthstar.SyncerOpts
Re-export
import { type Earthstar } from "https://deno.land/x/earthstar_replica_server@4.0.0-beta.1/deps.ts";
const { SyncerOpts } = Earthstar;

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.

Properties

manager: SyncerManager
partner: ISyncPartner<I>
optional
formats: FormatsArg<F>