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​

Parameter

Type

Description

key

string

The key to set.

val

T

The value to set.

Returns:

void