Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/earthstar/src/replica/replica-types.ts>ReplicaEvent

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
type alias ReplicaEvent
import { type ReplicaEvent } from "https://deno.land/x/earthstar@v10.0.0-beta.5/src/replica/replica-types.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