Skip to main content
Module

x/earthstar_replica_server/deps.ts>Earthstar.Peer#addSyncPartner

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

Begin syncing using an instance implementing ISyncPartner. Use this if you don't want to sync with a local peer or a replica server.

Parameters

partner: ISyncPartner<I>
description: string
optional
formats: FormatsArg<F>