class BaseManager
extends Base
import { BaseManager } from "https://deno.land/x/harmony@v2.6.0/src/managers/base.ts";
Managers handle caching data. And also some REST Methods as required.
You should not be making Managers yourself.
Methods
_delete(key: string): Promise<boolean>
Deletes a key from Cache
collection(): Promise<Collection<string, T2>>
Gets a Collection of values from Cache
delete(key: string, ...args: unknown[]): Promise<any>
flush(): Promise<void>
Deletes everything from Cache
keys(): Promise<string[]>
Gets all keys in the cache (mostly snowflakes)
size(): Promise<number>
Gets number of values stored in Cache
[Symbol.asyncIterator](): AsyncIterableIterator<T2>
[Symbol.for('Deno.customInspect')](): string