Package com.google.adk.planner
Class ParallelPlanner
java.lang.Object
com.google.adk.planner.ParallelPlanner
- All Implemented Interfaces:
Planner
A planner that runs all sub-agents in parallel, then completes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<PlannerAction>firstAction(PlanningContext context) Select the first action to execute.io.reactivex.rxjava3.core.Single<PlannerAction>nextAction(PlanningContext context) Select the next action based on updated state and events.
-
Constructor Details
-
ParallelPlanner
public ParallelPlanner()
-
-
Method Details
-
firstAction
Description copied from interface:PlannerSelect the first action to execute.- Specified by:
firstActionin interfacePlanner
-
nextAction
Description copied from interface:PlannerSelect the next action based on updated state and events.- Specified by:
nextActionin interfacePlanner
-