Interface FunctionStateContext


  • public interface FunctionStateContext
    Context for executing a FunctionState.
    Author:
    Daniel Sagenschneider
    • Method Detail

      • executeDelegate

        FunctionState executeDelegate​(FunctionState delegate)
                               throws java.lang.Throwable
        Wraps executing the delegate FunctionState to enable breaking the delegate chain. This avoids StackOverflowError issues.
        Parameters:
        delegate - Delegate FunctionState.
        Returns:
        Next FunctionState to execute.
        Throws:
        java.lang.Throwable - If failure in executing the delegate FunctionState.