import { CacheBase } from "https://deno.land/x/capi@v0.1.1-beta.1/util/cache/base.ts";
Constructors
new
CacheBase(signal: AbortSignal)Methods
abstract
_getRaw(key: string, init: () => Promise<Uint8Array>): Promise<Uint8Array>abstract
_has(key: string): Promise<boolean>get<T extends object>(): Promise<T>
key: string,
$value: $.Codec<T>,
init: () => Promise<T>,
getRaw(key: string, init: () => Promise<Uint8Array>): Promise<Uint8Array>
getString(): Promise<string>
key: string,
ttl: number,
init: () => Promise<string>,
has(key: string)