Created
August 18, 2018 18:42
-
-
Save anitaa1990/b3297d71ee470e694ef3177936edb29c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Observable.range(1, 10) | |
.ignoreElements() | |
.subscribe(new CompletableObserver() { | |
@Override | |
public void onSubscribe(Disposable d) { | |
System.out.println("onSubscribed"); | |
} | |
@Override | |
public void onComplete() { | |
System.out.println("Completed"); | |
} | |
@Override | |
public void onError(Throwable e) { | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment