Andrew
04/25/2020, 9:20 PMoctylFractal
04/25/2020, 9:21 PMaction as suspend () -> Unit, i.e. a suspend lambdaAndrew
04/25/2020, 9:33 PMstreetsofboston
04/26/2020, 3:59 PMrunSomething be an inline function.octylFractal
04/26/2020, 5:27 PMlaunch and not calling it directly. inline would technically work if runSomething was called in a suspend context, but if it's not it prevents legitimate calls that could use the suspend context in launchstreetsofboston
04/26/2020, 9:05 PMinline would probably need to have its action lamba param to be declared noinline, which would defeat the purpose.