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

x/earthstar/src/replica/replica.ts>Replica

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
class Replica
import { Replica } from "https://deno.land/x/earthstar@v10.0.0-beta.6/src/replica/replica.ts";

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)