Skip to main content
Module

x/earthstar_replica_server/deps.ts>Earthstar.QuerySourceMode

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

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"