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

Use .startWith() after .share on Store #175

Merged
merged 1 commit into from
Mar 16, 2018
Merged

Conversation

mariusmuja
Copy link
Collaborator

Fixes #174.

When .startWith() comes before .share, only the first subscription receives the initial element. This cases problems because every a store.sink.redirect() (usually called in most EmitterBuilders) creates a subscription.

@mariusmuja mariusmuja changed the title User .startWith() after .share on Store Use .startWith() after .share on Store Mar 12, 2018
Copy link
Member

@LukaJCB LukaJCB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mariusmuja mariusmuja merged commit 380bd70 into master Mar 16, 2018
@mariusmuja mariusmuja deleted the store_start_with_fix branch March 16, 2018 17:43
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.

None yet

3 participants