I'm trying to do calculating one by one, asynchronously.
fun method1(): Int{
return 2+2
}
fun method2(value: Int): Int{
return value * 2
}
fun method3(value: Int): Int{
return value * 3
}
Now I want method 2 work after method 1 and take result from her. Also method 3 work after method 2 and take result from her. Is it possible to do that with rxkotlin and make it in one stream ?