Search Docs
createMemoization<T>(...args): CallableContextMemoization<T>
T
args
CallableContextMemoization
Create a memoization in context to store the result of a getter function
• T
• ...args: [() => T, Partial<ContextMemoryOptions>]
Partial
ContextMemoryOptions
CallableContextMemoization<T>
packages/core/src/utils/context.ts:191