Skip to main content
Module

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

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

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>