Cache events map.
class MyCache extends EventEmitter<CacheEventsMap<{name: string}>> {} Copy
class MyCache extends EventEmitter<CacheEventsMap<{name: string}>> {}
v0.0.7
The type of the cached value
Optional type of the cache key (default is string)
Cache events map.
Example
Since
v0.0.7