- From: Benjamin Gruenbaum <notifications@github.com>
- Date: Fri, 13 Nov 2020 09:04:57 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 13 November 2020 17:05:10 UTC
@MattiasBuelens hey :] Note your implementation of `followSignal` does not work in case the signal is _never_ aborted. It works for the "operation was aborted" case but not for the "everything went fine" case. The handler would have to be weak so that if the operation completes successfully the parent controller's signal does not keep a reference to the child controller. This is impossible in userland because `addEventListener`'s API takes a function. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/920#issuecomment-726879818
Received on Friday, 13 November 2020 17:05:10 UTC