import { CapabilityWrapper } from "https://deno.land/x/velo@1.0.0/src/cache/capabilities/wrapper.ts";
Wrapper for another cache to extend its capabilities.
This is base class for all cache capabilities. It wraps an inner cache and provides and takes care of forwarding all methods to the inner cache. This behaviour is expected to be overwritten where necessary by the concrete capability implementation.
Type Parameters
K extends Key
Properties
optional
fireEvent: FireEventFunction<K, V>optional
onRemove: RemoveListener<K, V>Methods
reset(): void
setWithExpire(): void