When you use `=` to define the function, Kotlin wi...
# coroutines
m
When you use
=
to define the function, Kotlin will try to infer the return type. When you use
{ .. }
, then the return type is
Unit
.
👍 1