This seems like one of the more complicated operators, so hopefully the attempt here is sound.
The corner cases around this one are ensuring that we properly unsubscribe from |notifier| and |sourceObservable| simultaneously whenever we need to. This PR has a lot of documentation, so I'll direct the reader's attention to the text there which describes the mechanics I've put in place to hopefully get it all right.
This seems like one of the more complicated operators, so hopefully the attempt here is sound.
The corner cases around this one are ensuring that we properly unsubscribe from
|notifier|
and|sourceObservable|
simultaneously whenever we need to. This PR has a lot of documentation, so I'll direct the reader's attention to the text there which describes the mechanics I've put in place to hopefully get it all right.WPTs incoming.
Prototype implementation in Chromium: https://chromium-review.googlesource.com/c/chromium/src/+/5228477.
Preview | Diff