This sample shows how to create a workflow that uses Eager Workflow Start.
The target use case is workflows whose first task needs to execute quickly (ex: payment verification in an online checkout workflow). That work typically can't be done directly in the workflow (ex: using web APIs, databases, etc.), and also needs to avoid the overhead of dispatching another task. Using a Local Activity suffices both needs, which this sample demonstrates.
You can read more about Eager Workflow Start in our:
To run, first see the main README.md for prerequisites.
Then run the sample via:
uv run eager_wf_start/run.py