6 methods is not a problem, but things sum up fast...
# coroutines
t
6 methods is not a problem, but things sum up fast.
Copy code
Single.fromCallable { "hello" }
            .subscribeOn(io())
            .observeOn(mainThread())
            .subscribe { it -> println(it) }
=> 8 methods
Copy code
launch(UI) {
            val s = withContext(CommonPool) { "hello" }
            println(s)
        }
=> 11 methods