Vinicius Carvalho
03/12/2019, 3:51 PMrunBlocking {
foo() //foo returns a value and is being captured by the lambda
}
Since runBlocking needs to return void, I get a compiler errorstreetsofboston
03/12/2019, 3:52 PMrunBlocking {
foo() //foo returns a value and is being captured by the lambda
Unit
}
Dias
03/12/2019, 3:54 PMrunBlocking<Unit> {
foo() //foo returns a value and is being captured by the lambda
}
Vinicius Carvalho
03/12/2019, 3:54 PMVinicius Carvalho
03/12/2019, 3:54 PM