MemoizeOptions
import { MemoizeOptions } from "jsr:@ende/cache";type alias ยท experimental
type MemoizeOptions<Fn extends (...args: never[]) => unknown, Key, Cache extends MemoizationCache<Key, MemoizationCacheResult<ReturnType<Fn>>>> = { cache?: Cache; getKey?: (this: ThisParameterType<Fn>, ...args: Parameters<Fn>) => Key; errorIsCacheable?: (err: unknown) => boolean }Options for memoize.