Skip to content

CacheStorage

[<Interface>]
type CacheStorage =
    abstract member ``match`` (request: Request, ?options: MultiCacheQueryOptions) : Promise<Response option>
    abstract member ``match`` (request: URL, ?options: MultiCacheQueryOptions) : Promise<Response option>
    abstract member ``match`` (request: string, ?options: MultiCacheQueryOptions) : Promise<Response option>
    abstract member ``open`` (cacheName: string) : Promise<Cache>
    abstract member delete (cacheName: string) : Promise<bool>
    abstract member has (cacheName: string) : Promise<bool>
    abstract member keys () : Promise<ResizeArray<string>>
AssemblyGlutinum.Node
Inheritsobj \| null
Attributes[<AllowNullLiteral>] [<Interface>]

Methods

abstract member ``match`` (request: Request, ?options: MultiCacheQueryOptions) : Promise<Response option>
abstract member ``match`` (request: URL, ?options: MultiCacheQueryOptions) : Promise<Response option>
abstract member ``match`` (request: string, ?options: MultiCacheQueryOptions) : Promise<Response option>
abstract member ``open`` (cacheName: string) : Promise<Cache>
abstract member delete (cacheName: string) : Promise<bool>
abstract member has (cacheName: string) : Promise<bool>
abstract member keys () : Promise<ResizeArray<string>>