temporalio / samples-go

Temporal Go SDK samples
https://docs.temporal.io/docs/go
Other
481 stars 194 forks source link

Adding Accumulator Example #355

Open joshmsmith opened 3 months ago

joshmsmith commented 3 months ago

What was changed

Adding accumulator pattern sample: accumulator and associated readme changes

Why?

This is a pattern that's pretty common, and I wanted to have a sample that I could share about it. Gathering a lot of signals, managing continue as new, demonstrating signal with start, all good stuff to have.

Checklist

  1. Closes N/A

  2. How was this tested: Tested locally, tests in accumulate_signals_workflow_test.go

  3. Any docs updates needed? No

cretz commented 3 months ago

@Quinn-With-Two-Ns - unsure if you want to give this a review

Quinn-With-Two-Ns commented 3 months ago

@cretz I saw this, I just had no additional comments to add after yours