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

x/earthstar/src/peer/peer.ts>Peer#addSyncPartner

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