Skip to main content
Module

x/earthstar/src/entries/npm.ts>ReplicaEvent

Storage for private, distributed, offline-first applications.
Go to Latest
type alias ReplicaEvent
Re-export
import { type ReplicaEvent } from "https://deno.land/x/earthstar@v10.0.2/src/entries/npm.ts";
  • 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