Skip to main content
Module

x/earthstar/src/query-follower/query-follower-types.ts

A specification and Javascript library for building online tools you can truly call your own.
Go to Latest
import * as earthstar from "https://deno.land/x/earthstar@v9.3.3/src/query-follower/query-follower-types.ts";

Interfaces

Subscribe to the ongoing results of a query, optionally including old existing docs.

Type Aliases

  • new — not running yet; you need to call "await hatch()".
  • catching-up — hatch() has been called, we're catching up on old docs.
  • live — we're listening for new write events.
  • closed — the query follower is closed.
  • error — an unexpected error happened, maybe in your bus subscription handler.