CacheStorage

abstract external class CacheStorage

Exposes the JavaScript CacheStorage to Kotlin

Constructors

CacheStorage
Link copied to clipboard
fun CacheStorage()

Functions

delete
Link copied to clipboard
fun delete(cacheName: String): Promise<Boolean>
has
Link copied to clipboard
fun has(cacheName: String): Promise<Boolean>
keys
Link copied to clipboard
fun keys(): Promise<Array<String>>
match
Link copied to clipboard
fun match(request: dynamic, options: CacheQueryOptions = definedExternally): Promise<Any?>
open
Link copied to clipboard
fun open(cacheName: String): Promise<Cache>