Cache

abstract external class Cache(source)

Exposes the JavaScript Cache to Kotlin

Since Kotlin

1.1

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun add(request: dynamic): Promise<Unit>
Since Kotlin 1.1
Link copied to clipboard
fun addAll(requests: Array<dynamic>): Promise<Unit>
Since Kotlin 1.1
Link copied to clipboard
fun delete(request: dynamic, options: CacheQueryOptions = definedExternally): Promise<Boolean>
Since Kotlin 1.1
Link copied to clipboard
fun keys(request: dynamic = definedExternally, options: CacheQueryOptions = definedExternally): Promise<Array<Request>>
Since Kotlin 1.1
Link copied to clipboard
fun match(request: dynamic, options: CacheQueryOptions = definedExternally): Promise<Any?>
Since Kotlin 1.1
Link copied to clipboard
fun matchAll(request: dynamic = definedExternally, options: CacheQueryOptions = definedExternally): Promise<Array<Response>>
Since Kotlin 1.1
Link copied to clipboard
fun put(request: dynamic, response: Response): Promise<Unit>
Since Kotlin 1.1