Skip to main content

core.medplumkeyvalueclient.get

Home > @medplum/core > MedplumKeyValueClient > get

MedplumKeyValueClient.get() method

Gets the value for the given key from the keyvalue store.

Signature:

get(key: string): Promise<string | undefined>;

Parameters

ParameterTypeDescription
keystringThe key to get the value for.

Returns:

Promise<string | undefined>

The value for the given key.