CustomKeyResolverCache <Payload, Result>
Implements
- ResolverCache<Payload, Result>
Index
Constructors
Methods
Constructors
publicconstructor
Type parameters
- Payload
- Result
Parameters
getKey: (payload: Payload) => string
Returns CustomKeyResolverCache<Payload, Result>
Methods
publicdelete
Parameters
payload: Payload
Returns boolean
publicget
Parameters
payload: Payload
Returns undefined | Task<Payload, Result>
publicset
Parameters
payload: Payload
value: Task<Payload, Result>
Returns ResolverCache<Payload, Result>