Interface Callbacks.AfterExecuteCallback
- Enclosing class:
Callbacks
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Async callback interface for actions to be performed after an execution is completed or failed.
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Maybe<io.a2a.spec.TaskStatusUpdateEvent> call(io.a2a.server.agentexecution.RequestContext ctx, io.a2a.spec.TaskStatusUpdateEvent finalUpdateEvent) Callback which will be called after an execution resolved into a completed or failed task.
-
Method Details
-
call
io.reactivex.rxjava3.core.Maybe<io.a2a.spec.TaskStatusUpdateEvent> call(io.a2a.server.agentexecution.RequestContext ctx, io.a2a.spec.TaskStatusUpdateEvent finalUpdateEvent) Callback which will be called after an execution resolved into a completed or failed task. This gives an opportunity to enrich the event with additional metadata or log it.- Parameters:
ctx- the request contextfinalUpdateEvent- the final update event- Returns:
- a
Maybethat completes when the callback is done
-