deleteAsync

fun deleteAsync(url: String, options: CacheQueryOptions = definedExternally): Promise<JsBoolean>(source)

The delete() method of the Cache interface finds the Cache entry whose key is the request, and if found, deletes the Cache entry and returns a Promise that resolves to true.

MDN Reference


fun deleteAsync(url: URL, options: CacheQueryOptions = definedExternally): Promise<JsBoolean>(source)
fun deleteAsync(request: Request, options: CacheQueryOptions = definedExternally): Promise<JsBoolean>(source)