Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 610 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 610 Bytes

This sample Workflow Definition demonstrates how to use multiple workflow safe goroutines (instead of native ones) to process multiple sequences of activities in parallel. In Temporal Workflow Definition, you should not use go keyword to start goroutines. Instead, you use the workflow.Go function.

Steps to run this sample:

  1. Run a Temporal Service
  2. Run the following command to start the worker
go run goroutine/worker/main.go
  1. Run the following command to start the example
go run goroutine/starter/main.go