performUnit

suspend fun performUnit(f: (() -> Action) -> Action)

Record the execution of an action which doesn't consume any value.


suspend fun <A> performUnit(f: (A, () -> Action) -> Action, x: A)

Record the execution of an action which doesn't consume any value, and requires an additional argument of type A.


suspend fun <A, B> performUnit(f: (A, B, () -> Action) -> Action, x: A, y: B)

Record the execution of an action which doesn't consume any value, and requires additional arguments of types A and B.