Re: [wake-lock] Canceling using AbortSignal is a bit weird (#171)

> Contrast this to APIs like fetch() where a request is "done" at some point and can no longer be aborted.

This isn't really true. Even after the response comes in, the fetch can still be aborted, which cancels the response body.

In general, providing a signal just gives you insight into and control over some process. It's up the consuming API to delimit what that signal controls, and for how long.

-- 
GitHub Notification of comment by domenic
Please view or discuss this issue at https://github.com/w3c/wake-lock/issues/171#issuecomment-484219161 using your GitHub account

Received on Wednesday, 17 April 2019 18:59:54 UTC