Spec-Zone.ru › Deno 1

CacheStorage

interface CacheStorage {
delete(cacheName: string): Promise<boolean>;
has(cacheName: string): Promise<boolean>;
open(cacheName: string): Promise<Cache>;
}
var CacheStorage: {
prototype: CacheStorage;
new (): CacheStorage;
}
;

Methods

delete(cacheName: string): Promise<boolean>

Delete cache storage for the provided name.

has(cacheName: string): Promise<boolean>

Check if cache already exists for the provided name.

open(cacheName: string): Promise<Cache>

Open a cache storage for the provided name.

© 2018–2022 the Deno authors
https://doc.deno.land/deno/stable/~/CacheStorage

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API