Skip to content

Conversation

@WhitWaldo
Copy link
Contributor

Thank you for helping make the Dapr documentation better!

Please follow this checklist before submitting:

  • Commits are signed with Developer Certificate of Origin (DCO - learn more)
  • Read the contribution guide
  • Commands include options for Linux, MacOS, and Windows within codetabs
  • New file and folder names are globally unique
  • Page references use shortcodes instead of markdown or URL links
  • Images use HTML style and have alternative text
  • Places where multiple code/command options are given have codetabs

In addition, please fill out the following to help reviewers understand this pull request:

Description

Supplemented the documentation at the bottom of the workflow fan-out/in example to include another helper method introduced in the 1.16 release that dramatically simplifies processing work items in parallel with an upper concurrency limit. It was previously suggested in Discord that the appropriate way to do this was with Parallel.ForEachAsync, but this yields a non-deterministic process and is not compatible with Dapr Workflows, so I added this method to provide a method signature that's similar and provides a simpler expected experience, but which is fully compatible with Dapr Workflows.

Issue reference

…he .NET SDK to simplify processing work in parallel but with an upper concurrency cap.

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
@WhitWaldo WhitWaldo self-assigned this Jul 9, 2025
@WhitWaldo WhitWaldo requested review from a team as code owners July 9, 2025 20:45
Copy link
Contributor

@marcduiker marcduiker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great addition, thanks!

@msfussell
Copy link
Member

msfussell commented Jul 10, 2025

@WhitWaldo - Nice. I would encourage an example of this API to be added here https://github.com/dapr/dotnet-sdk/tree/master/examples/Workflow

We should encourage this approach into other SDKs.

@msfussell msfussell merged commit aed874b into dapr:v1.16 Jul 10, 2025
4 checks passed
@WhitWaldo
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants