- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The reaction of a host fun on the result of invocation.
-
Method Summary
Modifier and TypeMethodDescriptionreaction
(HostContext ctx, Val calleeResult) Performs reaction on the result of invocation.
-
Method Details
-
reaction
Performs reaction on the result of invocation.- Parameters:
ctx
- the context of the host fun.calleeResult
- the result of the invocation.- Returns:
- the result value, or the call flow.
- Throws:
Throwable
- any exception
-