-
Notifications
You must be signed in to change notification settings - Fork 126
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
PublishSubject -> PassthroughSubject? #22
Comments
You can use a subject as a subscriber using this specific subscribe overload: |
@freak4pc Thanks for a good point! I've tried to make a simple implementation of this method and it worked with simple example. Now I'm struggling with another thing. Thanks in advance |
What did you do in RxSwift to achieve this? @sshnip |
Hi @freak4pc
|
This is quite a lot of code with multiple players. Mind focusing this up a bit more on the portion where this issue relates? I mean the relation with Passthrogh and Publish? If it's a general Combine question I suggest posting in Slack, more peopel look there. http://slack.combine.community |
It's more like question not an issue. As I can see, in rxswift PublishSubject often used for binding + subscribing, e.g. the main idea of that class is to implement both Observer and Observable interfaces. In Combine this's no true because PassthroughSubject only implementes Pusblisher protocol and cannot be used as a subscriber. What do you think about that?
The text was updated successfully, but these errors were encountered: