I\'m trying to test the following RxKotlin/RxJava 2 code:
validate(data) .subscribeOn(Schedulers.io()) .observeO
This is the exact syntax that worked for me:
RxJavaPlugins.setIoSchedulerHandler(scheduler -> Schedulers.trampoline())