Skip to main content

core.lrucache.set

Home > @medplum/core > LRUCache > set

LRUCache.set() method

Sets the value for the given key.

Signature:

set(key: string, val: T): void;

Parameters

ParameterTypeDescription
keystringThe key to set.
valTThe value to set.

Returns:

void