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

Feature/sharing operators polish #1430

Merged
merged 3 commits into from
Oct 1, 2017

Conversation

kzaher
Copy link
Member

@kzaher kzaher commented Oct 1, 2017

This PR polishes our sharing operators.

  • Deprecates shareReplayLatestWhileConnected and shareReplay in favor of share(replay:scope:)
  • Changes publish, replay, replay all to clear state in case of sequence termination to be more consistent with other Rx implementations and enable retries.
  • Replaces share with default implementation of share(replay:scope:) so majority of operators can be derived from a single operator.

@kzaher kzaher merged commit f46a54d into rxswift4.0-swift4.0 Oct 1, 2017
@kzaher kzaher deleted the feature/sharing-operators-polish branch October 1, 2017 11:15
takasek added a commit to takasek/RxSwift that referenced this pull request Oct 12, 2017
`shareReplayLatestWhileConnected` and `shareReplay` are deprecated at ReactiveX#1430
The document comment of `SharingStrategyProtocol.share(_:)` should be fixed.
kzaher pushed a commit that referenced this pull request Oct 12, 2017
`shareReplayLatestWhileConnected` and `shareReplay` are deprecated at #1430
The document comment of `SharingStrategyProtocol.share(_:)` should be fixed.
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.

1 participant