Skip to main content

InMemoryDataSource class

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Generic Memory Data Source

InMemoryDataSource - class Type

Signature:

export declare class InMemoryDataSource<Type> implements IDataSource<Type> 

Implements: IDataSource<Type>

Methods

MethodModifiersDescription
delete(key, keyName)deletes from value from the memory
get(key, keyName)gets value from from the memory
load()loads from value from the memory
save(key, value, keyName)saves in the memory