Skip to main content

Interface: UseGqlessStateOptions<T>#

Type parameters#

Name
T

Properties#

filterSelections#

• Optional filterSelections: BuildSelections<T>

Defined in: meta/useMetaState.ts:27


onDoneFetching#

• Optional onDoneFetching: () => void

Type declaration:#

â–¸ (): void

Returns: void

Defined in: meta/useMetaState.ts:17

Defined in: meta/useMetaState.ts:17


onError#

• Optional onError: (data: { isLastTry: boolean ; newError: gqlessError ; selections: Selection[] }) => void

Type declaration:#

â–¸ (data: { isLastTry: boolean ; newError: gqlessError ; selections: Selection[] }): void

Parameters:#

NameType
dataobject
data.isLastTryboolean
data.newErrorgqlessError
data.selectionsSelection[]

Returns: void

Defined in: meta/useMetaState.ts:18

Defined in: meta/useMetaState.ts:18


onRetry#

• Optional onRetry: (data: { retryPromise: Promise<SchedulerPromiseValue> ; selections: Set<Selection> }) => void

Type declaration:#

â–¸ (data: { retryPromise: Promise<SchedulerPromiseValue> ; selections: Set<Selection> }): void

Parameters:#

NameType
dataobject
data.retryPromisePromise<SchedulerPromiseValue>
data.selectionsSet<Selection>

Returns: void

Defined in: meta/useMetaState.ts:23

Defined in: meta/useMetaState.ts:23


onStartFetching#

• Optional onStartFetching: () => void

Type declaration:#

â–¸ (): void

Returns: void

Defined in: meta/useMetaState.ts:16

Defined in: meta/useMetaState.ts:16

Last updated on by github-actions[bot]