Skip to main content

IDataSource.save() method

Save value under the key with optional key name

Signature:

save(key: string, value: Type, keyName?: string): Promise<void>;

Parameters

ParameterTypeDescription
keystringkey value
valueTypevalue to store
keyNamestring(Optional) key name

Returns:

Promise<void>