On this page
The only path to source data; the session never calls a global fetch.
Declaration
export type QueryFetchSource = (
Referenced by
Public exports naming QueryFetchSource
interface QueryFetchRequest {
readonly queryId: string;
readonly sourceId: string;
readonly kind: SavedQuerySource["kind"];
readonly locator?: string;
}interface QueryFetchRequest {
readonly queryId: string;
readonly sourceId: string;
readonly kind: SavedQuerySource["kind"];
readonly locator?: string;
}interface QueryFetchRequest {
readonly queryId: string;
readonly sourceId: string;
readonly kind: SavedQuerySource["kind"];
readonly locator?: string;
}What the host must load for one saved query. It never carries credentials.API referenceinterface QueryFetchContext {
readonly signal: AbortSignal;
}interface QueryFetchContext {
readonly signal: AbortSignal;
}interface QueryFetchContext {
readonly signal: AbortSignal;
}The signal aborts when the refresh is cancelled or the session is disposed.API referencetype QueryFetchResult =
| { readonly kind: "bytes"; readonly bytes: Uint8Array }
| { readonly kind: "batch"; readonly batch: QueryBatch };type QueryFetchResult =
| { readonly kind: "bytes"; readonly bytes: Uint8Array }
| { readonly kind: "batch"; readonly batch: QueryBatch };type QueryFetchResult =
| {
readonly kind: "bytes";
readonly bytes: Uint8Array;
}
| {
readonly kind: "batch";
readonly batch: QueryBatch;
};CSV and JSON sources return bytes; host sources return typed batches.API reference