matchAsync
fun matchAsync(url: String, options: CacheQueryOptions = definedExternally): Promise<Response?>(source)
The match()
method of the Cache interface returns a Promise that resolves to the Response associated with the first matching request in the Cache object.
fun matchAsync(url: URL, options: CacheQueryOptions = definedExternally): Promise<Response?>(source)
fun matchAsync(request: Request, options: CacheQueryOptions = definedExternally): Promise<Response?>(source)