handled property

JSPromise<JSAny?> get handled

@AvailableInWorkers("service")

The handled property of the FetchEvent interface returns a promise indicating if the event has been handled by the fetch algorithm or not. This property allows executing code after the browser has consumed a response, and is usually used together with the ExtendableEvent.waitUntil method.

Implementation

external JSPromise<JSAny?> get handled;