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

Remove unnecessary defer wrapping. #45

Merged
merged 2 commits into from
Oct 29, 2018
Merged

Remove unnecessary defer wrapping. #45

merged 2 commits into from
Oct 29, 2018

Conversation

vanniktech
Copy link
Contributor

Based on #44 so we won't have merge conflicts (hopefully).

defer() used to be necessary in the RxJava 1 days with create since create wasn't really using the emitter approach as the default. Now with RxJava 2 we can just use the emitter directly without nesting it.

@IvBaranov IvBaranov merged commit 007644c into IvBaranov:rxjava-2.x Oct 29, 2018
@vanniktech vanniktech deleted the defer branch October 29, 2018 09:23
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.

2 participants