CacheStorage
[<Interface>]
type CacheStorage =
static member Create (delete: string -> Promise<bool>, has: string -> Promise<bool>, keys: unit -> Promise<string array>, match: Func<U3<string,Request,URL>,MultiCacheQueryOptions option,Promise<Response option>>, open: string -> Promise<Cache>) : CacheStorage
abstract member ``match`` (request: U3<string,Request,URL>, ?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<string array>
| |
|---|
| Assembly | Xantham.Fable.Core.TS |
| Attributes | [<Interface>] |
Methods
static member Create (delete: string -> Promise<bool>, has: string -> Promise<bool>, keys: unit -> Promise<string array>, match: Func<U3<string,Request,URL>,MultiCacheQueryOptions option,Promise<Response option>>, open: string -> Promise<Cache>) : CacheStorage
abstract member ``match`` (request: U3<string,Request,URL>, ?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<string array>