Skip to main content
Module

x/earthstar_replica_server/deps.ts>Earthstar.Replica

An always-online Earthstar peer for your shares.
Latest
class Earthstar.Replica
Re-export
import { Earthstar } from "https://deno.land/x/earthstar_replica_server@4.0.0-beta.1/deps.ts";
const { Replica } = Earthstar;

A replica holding a share's documents and attachments, used to read, write, and synchronise data to. Should be closed using the close method when no longer being used.

const myReplica = new Replica(new ReplicaDriverMemory("+gardens.a37ib9"));

Constructors

new
Replica(opts: ReplicaOpts)