[w3c/ServiceWorker] Experimenting with abortable algorithms (#1443)

As part of #1440, I've tried to create a system that allows us to define how algorithms are aborted, and what cleanup steps, if any, need to run.

How do we feel about it? Is it useful, or just confusing? The alternative is "abort when", but I think this is harder to follow. I've tried to outline reasons in https://github.com/whatwg/infra/issues/257.

cc @mattto @jungkees 
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/ServiceWorker/pull/1443

-- Commit Summary --

  * Experimenting with abortable algorithms

-- File Changes --

    M docs/index.bs (235)

-- Patch Links --

https://github.com/w3c/ServiceWorker/pull/1443.patch
https://github.com/w3c/ServiceWorker/pull/1443.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/pull/1443

Received on Tuesday, 25 June 2019 11:54:28 UTC