Skip to content

Instantly share code, notes, and snippets.

View KarthicRaj's full-sized avatar

Karthic Sundarraj KarthicRaj

  • 18:40 (UTC -12:00)
View GitHub Profile
/**
* 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)