Skip to main content

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