Class FanOutFanInWorkflow

java.lang.Object
com.example.workflows.FanOutFanInWorkflow

public final class FanOutFanInWorkflow extends Object
A port of adk-python's fan_out_fan_in workflow sample: three nodes transform the user's text concurrently, and a JoinNode waits for all of them before one node combines their outputs.
  • Method Details

    • create

      public static Workflow create()
      Builds the workflow. It calls no model.
    • main

      public static void main(String[] args)
      Runs the workflow on one message and prints the combined result.