Skip to main content
Module

x/earthstar_replica_server/deps.ts>Earthstar.MultiformatReplica#getQueryStream

An always-online Earthstar peer for your shares.
Latest
method Earthstar.MultiformatReplica.prototype.getQueryStream
Re-export
import { Earthstar } from "https://deno.land/x/earthstar_replica_server@4.0.0-beta.1/deps.ts";
const { MultiformatReplica } = Earthstar;

Returns a readable stream of document events which match a given query. The events can represent existing documents, newly ingested documents, or expiring documents.

Parameters

optional
query: Omit<Query<[string]>, "formats"> = [UNSUPPORTED]
optional
mode: QuerySourceMode
optional
formats: FormatsArg<F>