LoslegenKostenlos loslegen

Concurrency and event collection

Diese Übung ist Teil des Kurses

Building Agentic Workflows with LlamaIndex

Kurs anzeigen

Anleitung zur Übung

Your system’s about to get faster. Launch multiple branches in parallel and synchronize them with precise event coordination.

  • Use .collect_events() to wait until all three Step 3 events are received.
  • In the workflow for different event types, specify the following events to be received by .collect_events(): StepCCompleteEvent, StepACompleteEvent, and StepBCompleteEvent, in this order.


Note: If you’re running DataLab in Restricted Mode, this exercise isn’t supported yet. We’re actively working on making it available in the future.


Interaktive Übung

In dieser interaktiven Übung kannst du die Theorie in die Praxis umsetzen.

Übung starten