OptionsType
OptionsType =
object
Defined in: packages/synapse-core/src/sp/create-dataset-add-pieces.ts:197
Properties
Section titled “Properties”pollInterval?
Section titled “pollInterval?”
optionalpollInterval?:number
Defined in: packages/synapse-core/src/sp/create-dataset-add-pieces.ts:209
The poll interval in milliseconds. Defaults to RETRY_CONSTANTS.POLL_INTERVAL.
retryCount?
Section titled “retryCount?”
optionalretryCount?:number
Defined in: packages/synapse-core/src/sp/create-dataset-add-pieces.ts:205
The number of retries. Defaults to 2.
retryDelay?
Section titled “retryDelay?”
optionalretryDelay?:number
Defined in: packages/synapse-core/src/sp/create-dataset-add-pieces.ts:207
The delay with exponential backoff between retries in milliseconds. Defaults to RETRY_CONSTANTS.RETRY_DELAY.
signal?
Section titled “signal?”
optionalsignal?:AbortSignal
Defined in: packages/synapse-core/src/sp/create-dataset-add-pieces.ts:203
The signal to abort the request.
statusUrl
Section titled “statusUrl”statusUrl:
string
Defined in: packages/synapse-core/src/sp/create-dataset-add-pieces.ts:199
The status URL to poll.
timeout?
Section titled “timeout?”
optionaltimeout?:number
Defined in: packages/synapse-core/src/sp/create-dataset-add-pieces.ts:201
The timeout in milliseconds for each wait. Defaults to 5 minutes.