putAsync

fun putAsync(url: String, response: Response): Promise<Void?>(source)

The put() method of the Cache interface allows key/value pairs to be added to the current Cache object.

MDN Reference


fun putAsync(url: URL, response: Response): Promise<Void?>(source)
fun putAsync(request: Request, response: Response): Promise<Void?>(source)