karelpeeters
12/19/2017, 4:29 PMfun suspend(block: suspend () -> Unit) = block
works?robin
12/19/2017, 4:30 PMrobin
12/19/2017, 4:31 PMnoinline
to the parameter though, otherwise the compiler complains.robin
12/19/2017, 4:32 PMkarelpeeters
12/19/2017, 4:33 PMelizarov
12/19/2017, 5:20 PM