Skip to main content
Module

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

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

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>