Skip to main content

Interface: UseMetaStateOptions<T>#

Type parameters#

Name
T

Properties#

filterSelections#

Optional filterSelections: BuildSelections<T>

Defined in: react/src/meta/useMetaState.ts:27


onDoneFetching#

Optional onDoneFetching: () => void

Type declaration:#

▸ (): void

Returns: void

Defined in: react/src/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: react/src/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: react/src/meta/useMetaState.ts:23


onStartFetching#

Optional onStartFetching: () => void

Type declaration:#

▸ (): void

Returns: void

Defined in: react/src/meta/useMetaState.ts:16

Last updated on by Sam Denty