Skip to main content
Module

x/earthstar/mod.ts>Peer#addSyncPartner

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
method Peer.prototype.addSyncPartner
Re-export
import { Peer } from "https://deno.land/x/earthstar@v10.0.0-beta.8/mod.ts";

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>