android support! thanks to TachiWeb devs.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package rx.android.schedulers
|
||||
|
||||
import rx.internal.schedulers.ImmediateScheduler
|
||||
|
||||
class AndroidSchedulers {
|
||||
companion object {
|
||||
val mainThreadScheduler by lazy {
|
||||
ImmediateScheduler.INSTANCE!!
|
||||
}
|
||||
|
||||
/**
|
||||
* Simulated main thread scheduler
|
||||
*/
|
||||
fun mainThread() = mainThreadScheduler
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user