keysAsync

fun keysAsync(url: String = definedExternally, options: CacheQueryOptions = definedExternally): Promise<ReadonlyArray<Request>>(source)

The keys() method of the Cache interface returns a Promise that resolves to an array of Request objects representing the keys of the Cache.

MDN Reference


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