Loving Rx.NET interoperability with Tasks.
Below, I could turn each event subject into a Task and used Task.WhenAny instead of Merge (I still prefer the latter).
In other cases I do filtering, throttling, debouncing on a merged stream of events.
#rxnet #dotnet #reactivex
Got some answers, folks who like #reactivex puzzles might be interested:
stackoverflow.com/questions/74001491/how-c...
#dotnet #rxnet twitter.com/noseratio/status/1578368...
#rxnet #dotnet #reactivex
I need to cancel a debounced event A if a different event B occurs. E.g., ignore a pressed keyboard key if a mouse button was clicked.
I can do that with Select/Switch/TakeUntil. Is there a better / standard approach for this (I say) quite common case?
Surprised #rxnet doesn't seem to have a Subject for a one-off cached event, resembling TaskCompletionSource.TrySetResult.
Neither AsyncSubject nor ReplaySubject(bufferSize: 1) does that.
As to dealing with exceptions from IObserver's OnNext/OnError/OnCompleted (and other notification-style callbacks).
I settled on extension method wrappers, which re-throw unhandled exceptions asynchronously using the same semantic as `async void`.
#dotnet #reactivex #rxnet...
#TIL, there's an important difference in #RxNET between Throttle(timeSpan, scheduler) and Throttle(timeSpan).ObserveOn(scheduler).
Below, only Y will be observed with the former, but both X and Y with the latter. Rx is fun! https://stackoverflow.com/a/69877166/1768303
#dotnet...
This is the longest, coolest MSDN blog post I have seen in a while - http://bit.ly/zW2uSK #RxNET @mattpodwysocki
RT @jeremylikness: #MVVM and Reactive Models (using #rxnet) http://bit.ly/e25uFC
...and then the #RxNET / #MEF sample shows up with the pony keg and hot chicks - http://www.codeproject.com/KB/miscctrl/RxDemos.aspx @gblock @jmorrill
Hmm... could I get #RxNET running in #Unity3d. And could I do anything with it? @higgyb @mattpodwysocki
RT @jimwooley: @dahlbyk The #WP7Dev bits support #RxNET out of the box. See msdn.microsoft.com/en-us/library/ff431792(v...