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

x/earthstar/src/replica/multiformat_replica.ts>MultiformatReplica#getQueryStream

Storage for private, distributed, offline-first applications.
Go to Latest
method MultiformatReplica.prototype.getQueryStream
import { MultiformatReplica } from "https://deno.land/x/earthstar@v10.0.1/src/replica/multiformat_replica.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>