OptionsType
OptionsType =
object
Defined in: packages/synapse-core/src/sp/terminate-service.ts:287
Properties
Section titled “Properties”onHash?
Section titled “onHash?”
optionalonHash?: (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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
hash | Hash |
Returns
Section titled “Returns”void
pollInterval?
Section titled “pollInterval?”
optionalpollInterval?:number
Defined in: packages/synapse-core/src/sp/terminate-service.ts:301
The poll interval in milliseconds. Defaults to RETRY_CONSTANTS.POLL_INTERVAL.
retryCount?
Section titled “retryCount?”
optionalretryCount?:number
Defined in: packages/synapse-core/src/sp/terminate-service.ts:297
The number of retries. Defaults to 2.
retryDelay?
Section titled “retryDelay?”
optionalretryDelay?: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.
signal?
Section titled “signal?”
optionalsignal?:AbortSignal
Defined in: packages/synapse-core/src/sp/terminate-service.ts:295
The signal to abort the request.
statusUrl
Section titled “statusUrl”statusUrl:
string
Defined in: packages/synapse-core/src/sp/terminate-service.ts:289
The status URL to poll.
timeout?
Section titled “timeout?”
optionaltimeout?:number
Defined in: packages/synapse-core/src/sp/terminate-service.ts:293
The timeout in milliseconds. Defaults to 5 minutes.