Service Workers ExtendableEvent.waitUntil() implementation has been updated

Published: | Categories: DOM


The ExtendableEvent.waitUntil method will throw an InvalidStateError if it’s called outside the ExtendableEvent handler, as per the spec. Also, the waitUntil method now accepts multiple calls and the resulting Promises will be concatenated in an array like Promise.all.