Closed jrask closed 8 years ago
The code below will print the okhttp response thread name but we want the to be invoked on a scheduler thread.
observable. buffer(1000) .flatMap ( AWS.elasticsearch.client ( ... ) ).doOnNext { Event e -> println Thread.currentThread().getName() }
Skip this for now, document that it is recommended to use observeOn(scheduler) in the pipeline until we figure out the best way.
The code below will print the okhttp response thread name but we want the to be invoked on a scheduler thread.