Skip to main content
Module

x/earthstar/mod.ts>QuerySourceMode

Storage for private, distributed, offline-first applications.
Latest
type alias QuerySourceMode
Re-export
import { type QuerySourceMode } from "https://deno.land/x/earthstar@v10.2.2/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"