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.
Returns
ReadableStream<ReplicaEvent<DocBase<string>>>