Skip to main content
Module

x/earthstar/mod.browser.ts>SyncerOpts

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
interface SyncerOpts
Re-export
import { type SyncerOpts } from "https://deno.land/x/earthstar@v10.0.0-alpha.3/mod.browser.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.

Properties

peer: IPeer
partner: ISyncPartner<I>
optional
formats: FormatsArg<F>