Skip to content

Interface: FetchChartOptions

Inputs to fetchChart.

optional intervalMs?: number

Poll interval in ms. Defaults to DEFAULT_FETCH_INTERVAL_MS (250ms).


optional signal?: AbortSignal

External cancellation handle (e.g. request req.signal).


optional timeoutMs?: number

Server-side polling budget in ms. When the entry stays in the processing state past this window, the helper returns the last seen value (still processing) so the client can re-poll. Defaults to DEFAULT_FETCH_TIMEOUT_MS (60s).


userKey: string

Identity the chart must belong to. A chart minted under a different key is indistinguishable from an unknown id. Use resolveUserKey.