Skip to main content

Interface: InlineResolveOptions<TData>#

Type parameters#

Name
TData

Properties#

onCacheData#

• Optional onCacheData: (data: TData) => void

On valid cache data found callback

Type declaration:#

â–¸ (data: TData): void

Parameters:#

NameType
dataTData

Returns: void

Defined in: packages/gqless/src/Client/resolvers.ts:212


onEmptyResolve#

• Optional onEmptyResolve: () => void

Type declaration:#

â–¸ (): void

Returns: void

Defined in: packages/gqless/src/Client/resolvers.ts:204


onSelection#

• Optional onSelection: (selection: Selection) => void

Get every selection intercepted in the specified function

Type declaration:#

â–¸ (selection: Selection): void

Parameters:#

NameType
selectionSelection

Returns: void

Defined in: packages/gqless/src/Client/resolvers.ts:208


refetch#

• Optional refetch: boolean

Defined in: packages/gqless/src/Client/resolvers.ts:203

Last updated on by Pablo Sáez