Closed deviousasti closed 3 years ago
@panesofglass Shall I push a PR for this?
@deviousasti please do, if you have the time!
By the way, would you like to become a contributor? You have made several excellent contributions, and I'd love to remove any blockers to you getting more fixes into the library.
Yes, I'd love to. Thank you for the vote of confidence. I spoke to Mathias from FSSF, and was invited to collaborate on this repo.
I hope to keep improving this library, and responding to issues. I look forward to working with you. :)
This is similar to #137.
The expected behavior of the
switch
operator is to dispose the subscription to the previously projected observable - this is part of what makes switch very useful.We're not passing in the cancellation token, so
switchAsync
ends up running the async in the background even though the subscription is lost. We should probably fix this to make it so thatswitchAsync
andswitchTask
behaves like map followed by a switch.