Skip to main content

Interface: SetCache#

Callable#

â–¸ SetCache(selection: Selection, data: unknown): void

Parameters:#

NameType
selectionSelection
dataunknown

Returns: void

Defined in: packages/gqless/src/Accessor/index.ts:119

â–¸ SetCache<A>(accessor: A, data: undefined | null | DeepPartial<A>): void

Type parameters:#

NameType
Aobject

Parameters:#

NameType
accessorA
dataundefined | null | DeepPartial<A>

Returns: void

Defined in: packages/gqless/src/Accessor/index.ts:120

â–¸ SetCache<B>(accessor: B, args: Parameters<B>[0], data: undefined | null | DeepPartial<ReturnType<B>>): void

Type parameters:#

NameType
B(args?: any) => unknown

Parameters:#

NameType
accessorB
argsParameters<B>[0]
dataundefined | null | DeepPartial<ReturnType<B>>

Returns: void

Defined in: packages/gqless/src/Accessor/index.ts:124

Last updated on by Sam Denty