Skip to content

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.

3 participants