Skip to content

LocalDataStore.get method

LocalDataStore › get

Reads a record.

Signature:

get(key: string): Promise<unknown>

Parameters:

ParameterTypeDescription
keystringRecord key.

Returns: Promise<unknown> — Its value, or undefined when absent.