fun A(){
thread {
Thread.sleep(1000)
//MyCode
}
}
fun B(){
thread {
//MyCode
}
}
}
need to call 1st A() then B() with Rxjava . is there any operator that i can use?
fun A(){
thread {
Thread.sleep(1000)
//MyCode
}
}
fun B(){
thread {
//MyCode
}
}
}
need to call 1st A() then B() with Rxjava . is there any operator that i can use?