Skip to main content
Module

x/earthstar/src/entries/universal.ts>MultiformatReplica#getEventStream

Storage for private, distributed, offline-first applications.
Go to Latest
method MultiformatReplica.prototype.getEventStream
Re-export
import { MultiformatReplica } from "https://deno.land/x/earthstar@v10.2.2/src/entries/universal.ts";

Returns a readable stream of replica events, such as new ingestions, document expirations, or the replica preparing to close.

Parameters

optional
channel: OrCh<ReplicaEvent<DocBase<string>>["kind"]> = [UNSUPPORTED]
  • An optional string representing a channel of events to be subscribed to. Defaults to return all events.