Skip to content
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

Add asDriver() method to PublishRelay #2160

Closed

Conversation

yhkaplan
Copy link

No description provided.

@freak4pc
Copy link
Member

Hey there, thanks for your contribution. Please do a search of issues before opening this sort of PR next time :)

Driver isn't appropriate to use for PublishRelay, what you're looking for is Signal.

Signal - Main Scheduler, shared, replay 0 (like Publish*)
Driver - Main Scheduler, shared, replay 1 (like Behavior*)

Thanks!

@freak4pc freak4pc closed this Mar 31, 2020
@freak4pc
Copy link
Member

Here's another PR suggesting this where I explain the same:
#1769 (comment)

@yhkaplan
Copy link
Author

Thanks for the explanation!

@yhkaplan yhkaplan deleted the asDriver-for-publishrelay branch March 31, 2020 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants