Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 849 Bytes

File metadata and controls

14 lines (8 loc) · 849 Bytes

Eager Workflow Start

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 README.md for prerequisites. Then run the sample via:

bundle exec ruby run.rb