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

Associative lift operators to fix synchronous sampleOn #2571

Merged
merged 4 commits into from Nov 25, 2015

Conversation

neilpa
Copy link
Member

@neilpa neilpa commented Nov 25, 2015

I decided to keep liftLeft and liftRight private for now. I don't think this is a complexity we should expose in the API given that these only matter for some operators and only when both producers are synchronous.

NachoSoto and others added 4 commits November 19, 2015 00:59
…nalProducer)

The docs read "If `sampler` fires before a value has been observed on `self`, nothing happens.".
However, in this case the sampler "fires" synchronously upon subscription. Thus, I don't think this is the expected behavior.
The differences here are nuanced and only matter for some operators and
even then, only when the producers are both synchronous. Lets not expose
this complexity in the public API for now.
@NachoSoto
Copy link
Member

I decided to keep liftLeft and liftRight private for now. I don't think this is a complexity we should expose in the API

Completely 👍

@NachoSoto
Copy link
Member

Awesome :shipit:

Great job!

NachoSoto added a commit that referenced this pull request Nov 25, 2015
Associative lift operators to fix synchronous sampleOn
@NachoSoto NachoSoto merged commit a90f7e3 into master Nov 25, 2015
@NachoSoto NachoSoto deleted the lift-associativity branch November 25, 2015 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants