Skip to main content
Version: Next (2.x)

ScopeCacheKeyFn<Param>

ScopeCacheKeyFn<Param> = (param) => unknown

Builds a cache key for a single scope. The returned value must be stable — equal inputs must produce a value that compares equal as a Map key (a string, or a stable object reference).

Type Parameters

Type Parameter

Param

Parameters

ParameterType

param

Param

Returns

unknown