Package io.a2a.server.tasks
Class ResultAggregator
java.lang.Object
io.a2a.server.tasks.ResultAggregator
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionResultAggregator(TaskManager taskManager, Message message, Executor executor) -
Method Summary
Modifier and TypeMethodDescriptionconsumeAll(EventConsumer consumer) consumeAndBreakOnInterrupt(EventConsumer consumer, boolean blocking) consumeAndEmit(EventConsumer consumer)
-
Constructor Details
-
ResultAggregator
-
-
Method Details
-
getCurrentResult
-
consumeAndEmit
-
consumeAll
- Throws:
JSONRPCError
-
consumeAndBreakOnInterrupt
public ResultAggregator.EventTypeAndInterrupt consumeAndBreakOnInterrupt(EventConsumer consumer, boolean blocking) throws JSONRPCError - Throws:
JSONRPCError
-