Skip to content

OptionsType

OptionsType = object

Defined in: packages/synapse-core/src/sp/create-dataset-add-pieces.ts:197

optional pollInterval?: 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.


optional retryCount?: number

Defined in: packages/synapse-core/src/sp/create-dataset-add-pieces.ts:205

The number of retries. Defaults to 2.


optional retryDelay?: 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.


optional signal?: AbortSignal

Defined in: packages/synapse-core/src/sp/create-dataset-add-pieces.ts:203

The signal to abort the request.


statusUrl: string

Defined in: packages/synapse-core/src/sp/create-dataset-add-pieces.ts:199

The status URL to poll.


optional timeout?: 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.