Function: createMemoization()

createMemoization<T>(...args): CallableContextMemoization<T>

Create a memoization in context to store the result of a getter function

Type Parameters

T

Parameters

• ...args: [() => T, Partial<ContextMemoryOptions>]

Returns

CallableContextMemoization<T>

Defined in

packages/core/src/utils/context.ts:191