matchAsync

fun matchAsync(url: String, options: MultiCacheQueryOptions = definedExternally): Promise<Response?>(source)

The match() method of the CacheStorage interface checks if a given Request or URL string is a key for a stored Response.

MDN Reference


fun matchAsync(url: URL, options: MultiCacheQueryOptions = definedExternally): Promise<Response?>(source)
fun matchAsync(request: Request, options: MultiCacheQueryOptions = definedExternally): Promise<Response?>(source)