Skip to main content
Module

x/earthstar/mod.ts>Peer#addSyncPartner

Storage for private, distributed, offline-first applications.
Latest
method Peer.prototype.addSyncPartner
Re-export
import { Peer } from "https://deno.land/x/earthstar@v10.2.2/mod.ts";

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

Parameters

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