Skip to main content

Properties

attemptIndex#

Optional Private attemptIndex: number

Error incremental attempt index

You shouldn't set it manually

default 0

Defined in: packages/gqless/src/Error/retry.ts:43


onLastTry#

Optional onLastTry: (attemptIndex: number) => Promise<void>

Function to be executed on the last try

Type declaration:#

▸ (attemptIndex: number): Promise<void>

Parameters:#

NameType
attemptIndexnumber

Returns: Promise<void>

Defined in: packages/gqless/src/Error/retry.ts:51


onRetry#

onRetry: (attemptIndex: number) => Promise<void>

Function to be executed on approved retry attempt

Type declaration:#

▸ (attemptIndex: number): Promise<void>

Parameters:#

NameType
attemptIndexnumber

Returns: Promise<void>

Defined in: packages/gqless/src/Error/retry.ts:47

Last updated on by Sam Denty