Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/earthstar/src/entries/universal.ts>Peer#sync

A specification and Javascript library for building online tools you can truly call your own.
Go to Latest
method Peer.prototype.sync
Re-export
import { Peer } from "https://deno.land/x/earthstar@v9.3.3/src/entries/universal.ts";

Begin synchronising with a remote or local peer.

Parameters

target: IPeer | string
  • A HTTP URL, Websocket URL, or an instance of Peer.