workUnitDo

fun workUnitDo(continuation: () -> Unit)

Eventually invoke the given 0-argument function. Track it as an outstanding action, ensuring CompilationContext.noMoreWorkUnits is invoked only when all such queued actions have completed.

Parameters

continuation

What to execute eventually.