core.medplumkeyvalueclient.set | Medplum

MedplumKeyValueClient.set() method

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

Signature:

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

Parameters [​](/content/docs/sdk/core.medplumkeyvalueclient.set#parameters "Direct link to Parameters"/index.html)

Parameter Type Description
key string The key to set the value for.
value string The value to set.

Returns:

Promise