CacheMemory
Extends:
* → CacheMemory
A basic in-memory cache implementation
Constructor Summary
Public Constructor | ||
public |
constructor(options: object) Create new Memory cache object |
Member Summary
Public Members | ||
public |
cache: {} Create a new object for caching |
Method Summary
Private Methods | ||
private |
async _del(key: *) |
|
private |
async _get(key: *): * |
|
private |
async _getKeys(prefix: *): * |
|
private |
async _set(key: *, object: *) |