Skip to main content
Module

x/evt/lib/types/index.ts>dom.CacheStorage

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.CacheStorage
import { type dom } from "https://deno.land/x/evt@v2.4.3/lib/types/index.ts";
const { CacheStorage } = dom;

The storage for Cache objects.

Methods

delete(cacheName: string): Promise<boolean>
has(cacheName: string): Promise<boolean>
keys(): Promise<string[]>
match(request: RequestInfo, options?: MultiCacheQueryOptions): Promise<Response | undefined>
open(cacheName: string): Promise<Cache>