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

Implemented the 'DefaultIfEmpty' operator. See #34 #401

Merged
merged 3 commits into from
Sep 25, 2013

Conversation

zsxwing
Copy link
Member

@zsxwing zsxwing commented Sep 22, 2013

Hi,

This implements the DefaultIfEmpty operator from #34.

There are two variants. However, I can not get the element type in the source observable due to type erasure. So I only implemented the variant with a default value: http://msdn.microsoft.com/en-us/library/hh229624(v=vs.103).aspx

Please take a look. Thanks.

@cloudbees-pull-request-builder

RxJava-pull-requests #300 ABORTED

@cloudbees-pull-request-builder

RxJava-pull-requests #302 ABORTED

@benjchristensen
Copy link
Member

Thank you.

benjchristensen added a commit that referenced this pull request Sep 25, 2013
Implemented the 'DefaultIfEmpty' operator. See #34
@benjchristensen benjchristensen merged commit 440aa4d into ReactiveX:master Sep 25, 2013
@zsxwing zsxwing deleted the default_if_empty branch September 26, 2013 02:08
rickbw pushed a commit to rickbw/RxJava that referenced this pull request Jan 9, 2014
Implemented the 'DefaultIfEmpty' operator. See ReactiveX#34
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