Skip to main content
Module

x/earthstar/mod.ts>QuerySourceMode

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
type alias QuerySourceMode
Re-export
import { type QuerySourceMode } from "https://deno.land/x/earthstar@v10.0.0-beta.8/mod.ts";

A mode representing what kind of docs are desired from a query stream.

  • existing - Only pre-existing documents.
  • new - Only documents written after the stream is initiated
  • everything - Both pre-existing and incoming documents.
definition: "existing" | "new" | "everything"