Skip to content

Interface: IngestionPollOptions

@kortexya/reasoninglayer


@kortexya/reasoninglayer / IngestionPollOptions

Defined in: src/types/ingestion.ts:230

Options for polling an async ingestion session to completion.

optional onProgress?: (progress) => void

Defined in: src/types/ingestion.ts:238

Optional callback invoked with progress data on each poll cycle.

SessionProgressResponse

void


optional pollIntervalMs?: number

Defined in: src/types/ingestion.ts:234

Interval between polls in milliseconds.

2000

optional signal?: AbortSignal

Defined in: src/types/ingestion.ts:232

Abort signal to cancel polling.


optional timeoutMs?: number

Defined in: src/types/ingestion.ts:236

Maximum time to wait before throwing a timeout error, in milliseconds.

300000