Skip to main content
Module

x/earthstar/mod.ts>Peer#syncUntilCaughtUp

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

Sync with many peers until there is nothing left to pull, and then stops.

Parameters

targets: (IPeer | string)[]
  • An array made up of HTTP URLs, Websocket URLs, or Peer instances.