Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/earthstar/src/entries/npm.ts>Peer#addSyncPartner

Storage for private, distributed, offline-first applications.
Go to Latest
method Peer.prototype.addSyncPartner
Re-export
import { Peer } from "https://deno.land/x/earthstar@v10.0.2/src/entries/npm.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>