Skip to main content

core.medplumkeyvalueclient.set

Home > @medplum/core > MedplumKeyValueClient > set

MedplumKeyValueClient.set() method

Sets the value for the given key in the keyvalue store.

Signature:

set(key: string, value: string): Promise<void>;

Parameters

Parameter

Type

Description

key

string

The key to set the value for.

value

string

The value to set.

Returns:

Promise<void>