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

Parameter

Type

Description

key

string

The key to get the value for.

Returns:

Promise<string | undefined>

The value for the given key.