QueryHost
Esc

Documentation menu

API reference · type-aliases

Type Alias: QuerySourceEvent

Generated from the QueryHost package public TypeScript contract.

QuerySourceEvent = { source: QuerySourceName; type: "started"; } | { report: QuerySource; type: "completed"; }

Progress for one source of a running query, delivered through QueryInput.onSource.

started fires before a source's network work begins. completed carries the same report that appears in the result's sources; skipped and unsupported sources complete without starting.