Interface: IngestionPollOptions
@kortexya/reasoninglayer / Ingestion / IngestionPollOptions
Interface: IngestionPollOptions
Defined in: src/types/ingestion.ts:168
Options for polling an async ingestion session to completion.
Properties
onProgress()?
optionalonProgress: (progress) =>void
Defined in: src/types/ingestion.ts:176
Optional callback invoked with progress data on each poll cycle.
Parameters
progress
Returns
void
pollIntervalMs?
optionalpollIntervalMs:number
Defined in: src/types/ingestion.ts:172
Interval between polls in milliseconds.
Default Value
2000signal?
optionalsignal:AbortSignal
Defined in: src/types/ingestion.ts:170
Abort signal to cancel polling.
timeoutMs?
optionaltimeoutMs:number
Defined in: src/types/ingestion.ts:174
Maximum time to wait before throwing a timeout error, in milliseconds.
Default Value
300000