public final class RxJava2Schedulers extends Object
This can prevent having two sets of worker pools when both libraries are in use.
Modifier and Type | Method and Description |
---|---|
static void |
resetReactorCoreSchedulers()
Restores the RxJava 2 standard Schedulers to their
default values.
|
static void |
useReactorCoreSchedulers()
The RxJava 2 standard Schedulers will be replaced
by their Reactor-Core counterparts; both libraries
will run on the Reactor-Core schedulers.
|
public static void useReactorCoreSchedulers()
Call this before interacting with RxJava 2.
public static void resetReactorCoreSchedulers()