coder82
08/13/2019, 10:32 AMelizarov
08/13/2019, 11:55 AMclass MyActor {
fun operation(params) = act { ... code here ... }
}
Where act
is a higher-order function that captures the corresponding code and executes it in the actor’s context.coder82
08/14/2019, 7:37 AMelizarov
08/14/2019, 7:38 AM