addAll

inline suspend fun Cache.addAll(requests: ReadonlyArray<Request>)(source)

The addAll() method of the Cache interface takes an array of URLs, retrieves them, and adds the resulting response objects to the given cache.

MDN Reference


inline suspend fun Cache.addAll(urls: ReadonlyArray<JsString>)(source)