Skip to main content

Interface: MemoizedAsyncFunction()<Args, R>

Defined in: memo/types.ts:55

A memoized async function with cache access and deduplication.

Type Parameters

Args

Args extends readonly unknown[]

R

R

MemoizedAsyncFunction(...args): Promise<R>

Defined in: memo/types.ts:56

A memoized async function with cache access and deduplication.

Parameters

args

...Args

Returns

Promise<R>

Properties

cache

cache: Cache<unknown, Promise<R>>

Defined in: memo/types.ts:57


clear()

clear: () => void

Defined in: memo/types.ts:58

Returns

void