Skip to main content
Module

x/earthstar_replica_server/deps.ts>Earthstar.ReplicaEvent

An always-online Earthstar peer for your shares.
Latest
type alias Earthstar.ReplicaEvent
Re-export
import { type Earthstar } from "https://deno.land/x/earthstar_replica_server@4.0.0-beta.1/deps.ts";
const { ReplicaEvent } = Earthstar;
  • DocAlreadyExists — processing an old doc as you catch up
  • IngestEvent — the result of a replica ingesting a document
  • ExpireEvent - An ephemeral document has expired
  • AttachmentIngestEvent - A new attachment has been ingested
  • AttachmentPruneEvent - An attachment without a corresponding document has been pruned.
  • ReplicaEventWillClose — the replica is about to close
  • ReplicaEventDidClose — the replica has closed