#
Interface: UseMetaStateOptions<T>#
Type parametersName |
---|
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:Name | Type |
---|---|
data | object |
data.isLastTry | boolean |
data.newError | gqlessError |
data.selections | Selection[] |
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:Name | Type |
---|---|
data | object |
data.retryPromise | Promise<SchedulerPromiseValue> |
data.selections | Set<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