Skip to content

OptionsType

OptionsType = object

Defined in: packages/synapse-core/src/sp/terminate-service.ts:287

optional onHash?: (hash) => void

Defined in: packages/synapse-core/src/sp/terminate-service.ts:291

Called once with the provider’s transaction hash as soon as it is known.

ParameterType
hashHash

void


optional pollInterval?: number

Defined in: packages/synapse-core/src/sp/terminate-service.ts:301

The poll interval in milliseconds. Defaults to RETRY_CONSTANTS.POLL_INTERVAL.


optional retryCount?: number

Defined in: packages/synapse-core/src/sp/terminate-service.ts:297

The number of retries. Defaults to 2.


optional retryDelay?: number

Defined in: packages/synapse-core/src/sp/terminate-service.ts:299

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/terminate-service.ts:295

The signal to abort the request.


statusUrl: string

Defined in: packages/synapse-core/src/sp/terminate-service.ts:289

The status URL to poll.


optional timeout?: number

Defined in: packages/synapse-core/src/sp/terminate-service.ts:293

The timeout in milliseconds. Defaults to 5 minutes.