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.
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
-
Method Details
-
run
Runs the detached turn body.- Returns:
- the finish reason
- Throws:
Exception- if the turn fails
-