Interface DetachController.DetachedTurn<S>

Type Parameters:
S - the type of custom session state
Enclosing class:
DetachController
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface DetachController.DetachedTurn<S>
The body of a detached turn. Runs the agent function and applies its result to the session, returning the finish reason. Thrown exceptions cause the pending snapshot to finalize as FAILED.
  • Method Summary

    Modifier and Type
    Method
    Description
    run()
    Runs the detached turn body.