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

x/earthstar/mod.browser.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.0/mod.browser.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.