- All Superinterfaces:
HostResult
- All Known Subinterfaces:
CallFlowToArgs
,CallFlowToRecv
Call flow step to bind a return val handler.
If an instance of this interface is returned as the result of the host fun action, the fun is called as a tail call.
If you want to use the result of the fun call,
provide a handler via on(HostFunReaction)
.
-
Method Summary
Modifier and TypeMethodDescriptionon
(HostFunReaction reaction) Makes a non-tail call HostResult which continues to the handler when the fun call returns the result.Methods inherited from interface org.kink_lang.kink.hostfun.HostResult
makeHostResultCore
-
Method Details
-
on
Makes a non-tail call HostResult which continues to the handler when the fun call returns the result.- Parameters:
reaction
- the handler of the return val.- Returns:
- a non-tail call result.
-