# Class ParallelPlanner

java.lang.Object
com.google.adk.planner.ParallelPlanner

All Implemented Interfaces:
  `Planner`

public final class ParallelPlanner extends Object implements Planner
A planner that runs all sub-agents in parallel, then completes.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ParallelPlanner()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `io.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.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface Planner

  `init`
  Modifier and Type
  Method
  Description
  `default void`
  `init(PlanningContext context)`
  Initialize the planner with context and available agents.

- ## Constructor Details

  - ### ParallelPlanner

    public ParallelPlanner()

- ## Method Details

  - ### firstAction

    public io.reactivex.rxjava3.core.Single<PlannerAction> firstAction(PlanningContext context)
    Description copied from interface: `Planner`
    Select the first action to execute.
    Specified by:
      `firstAction` in interface `Planner`

  - ### nextAction

    public io.reactivex.rxjava3.core.Single<PlannerAction> nextAction(PlanningContext context)
    Description copied from interface: `Planner`
    Select the next action based on updated state and events.
    Specified by:
      `nextAction` in interface `Planner`