-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ General question ] functional API, RxJS-like #220
Comments
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([ 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: