-
public class AndroidSchedulers
-
-
Method Summary
Modifier and Type Method Description static Scheduler
mainThread()
A Scheduler which executes actions on the Android UI thread. static Scheduler
from(Looper looper)
A Scheduler which executes actions on {@code looper}
.static void
reset()
Resets the current AndroidSchedulers instance.This will re-init the cached schedulers on the next usage,which can be useful in testing. -
-
Method Detail
-
mainThread
static Scheduler mainThread()
A Scheduler which executes actions on the Android UI thread.
-
reset
static void reset()
Resets the current AndroidSchedulers instance.This will re-init the cached schedulers on the next usage,which can be useful in testing.
-
-
-
-