Skip to content

issue-2764: add new operator onBackpressureDrop(Action1 onDrop)#2776

Merged
benjchristensen merged 1 commit into
ReactiveX:1.xfrom
stevenzwu:issues-2764
Mar 4, 2015
Merged

issue-2764: add new operator onBackpressureDrop(Action1 onDrop)#2776
benjchristensen merged 1 commit into
ReactiveX:1.xfrom
stevenzwu:issues-2764

Conversation

@stevenzwu

Copy link
Copy Markdown

No description provided.

Comment thread src/main/java/rx/Observable.java Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Action1 should be generic: Action1<? super T> onDrop

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

will fix. forgot the generic for arg. did it for member var.

Comment thread src/main/java/rx/Observable.java Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You need Action1<? super T> here.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

will update. thanks

@stevenzwu

Copy link
Copy Markdown
Author

added super to generic type T

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please add @Experimental annotation to this method.

@benjchristensen

Copy link
Copy Markdown
Member

I will manually add Experimental to it after merging.

benjchristensen added a commit that referenced this pull request Mar 4, 2015
issue-2764: add new operator onBackpressureDrop(Action1 onDrop)
@benjchristensen benjchristensen merged commit 4dd7040 into ReactiveX:1.x Mar 4, 2015
@benjchristensen

Copy link
Copy Markdown
Member

Thanks @stevenzwu

@stevenzwu

Copy link
Copy Markdown
Author

thanks. looks like I missed a lot of details :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants