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
/** | |
* Asynchronously calls 'customObservableNonBlocking' and defines | |
* a chain of operators to apply to the callback sequence. | |
*/ | |
def simpleComposition() { | |
// fetch an asynchronous Observable<String> | |
// that emits 75 Strings of 'anotherValue_#' | |
customObservableNonBlocking() | |
// skip the first 10 | |
.skip(10) |