Interface FunctionStateContext
public interface FunctionStateContext
Context for executing a
FunctionState.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionexecuteDelegate(FunctionState delegate) Wraps executing the delegateFunctionStateto enable breaking the delegate chain.
-
Method Details
-
executeDelegate
Wraps executing the delegateFunctionStateto enable breaking the delegate chain. This avoidsStackOverflowErrorissues.- Parameters:
delegate- DelegateFunctionState.- Returns:
- Next
FunctionStateto execute. - Throws:
Throwable- If failure in executing the delegateFunctionState.
-