Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/earthstar/mod.browser.ts>MultiformatReplica#getEventStream

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
method MultiformatReplica.prototype.getEventStream
Re-export
import { MultiformatReplica } from "https://deno.land/x/earthstar@v10.0.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.