keys
inline suspend fun Cache.keys(url: String, options: CacheQueryOptions): 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.
inline suspend fun Cache.keys(request: Request, options: CacheQueryOptions): ReadonlyArray<Request>(source)
The keys()
method of the CacheStorage interface returns a Promise that will resolve with an array containing strings corresponding to all of the named Cache objects tracked by the CacheStorage object in the order they were created.