runTest vs runBlocking - Simplified
As the name runBlocking suggests that it runs suspending code in blocking manner, which means if there is a delay inside the unlocking block, it will also block the thread.
fun main(){
runBlocking{
delay(2000)
println("Inside runBlocking")...
waqasyounis.hashnode.dev2 min read