Skip to main content
Module

x/earthstar_replica_server/mod.ts>ReplicaServer

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

An extensible replica server able to synchronise with other peers.

A replica server's functionality can be extended using extensions of type IReplicaServerExtension.

Constructors

new
ReplicaServer(extensions: IReplicaServerExtension[], opts?: ReplicaServerOpts)

Create a new replica server with an array of extensions.

Properties

private
abortController: AbortController
private
core: ReplicaServerCore
private
server: Promise<void>