You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In JS, the main reason they switched to pipe was for tree-shaking, which isn't necessary in PHP. Is there something that you're trying to do that can't be done with the current API?
No, not that I have stumbled upon. The reason why I was asking this was purely DX, my first interaction with ReactiveX starts with RxJS. Like, I had this example:
$obs1->withLatestFrom([$obs2, $obs3,....])
which in RxJS would look like:
withLatestFrom([
$obs1,
$obs2,
$obs3,
...
])
Clearly, there is no any kind of value in terms of "functionality" - both examples would produce same result. There is only one value in supporting second example as well is that it would make life much easier for us coming from RxJS with already developed mental model when working with ReactiveX.
Now, question is -> would RxPHP be interested in providing such "syntactic suggar" within this library as well?
Hello,
I was just wondering if you ever considered to provide RxJS-like API? Something like:
Thank you!
The text was updated successfully, but these errors were encountered: