MemoryStorageProvider
storage.MemoryStorageProvider
Type parameters
Name | Type |
---|---|
T |
StorageValueType |
Implements
IStorage
<T
>
constructor
new MemoryStorageProvider<T
>(): MemoryStorageProvider
<T
>
Type parameters
Name | Type |
---|---|
T |
StorageValueType |
Returns
set
set(key
, value
): IStorage
<T
>
Parameters
Name | Type |
---|---|
key |
string |
value |
T |
Returns
IStorage
<T
>
Implementation of
Defined in
src/core/storage/engines/memory-storage-provider.ts#18
delete
delete(key
): IStorage
<T
>
Parameters
Name | Type |
---|---|
key |
string |
Returns
IStorage
<T
>
Implementation of
Defined in
src/core/storage/engines/memory-storage-provider.ts#23
get
get<R
>(key
): void
| R
Type parameters
Name | Type |
---|---|
R |
T |
Parameters
Name | Type |
---|---|
key |
string |
Returns
void
| R
Implementation of
Defined in
src/core/storage/engines/memory-storage-provider.ts#28
exists
exists(key
): boolean
Parameters
Name | Type |
---|---|
key |
string |
Returns
boolean
Implementation of
Defined in
src/core/storage/engines/memory-storage-provider.ts#32
clear
clear(): IStorage
<T
>
Returns
IStorage
<T
>
Implementation of
Defined in
jodit/src/core/storage/engines/memory-storage-provider.ts:36