Skip to content

fix(beam): complete Async.Parallel semantics - #5109

Draft
dbrattli wants to merge 2 commits into
feat/beam-async-task-parityfrom
fix/beam-async-parallel
Draft

dbrattli wants to merge 2 commits into
feat/beam-async-task-parityfrom
fix/beam-async-parallel

Conversation

@dbrattli

@dbrattli dbrattli commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Complete BEAM Async.Parallel behavior for #5098. The optional maxDegreeOfParallelism bounds workers, results retain input order, and the degree is validated when the call is made.

Workers share a child cancellation token linked to the parent. On the first failure, the group cancels remaining workers and waits for started workers to finish before reporting the original error. The BEAM async suite covers bounded concurrency, order, failure cleanup, invalid degree, and empty input against .NET and generated Erlang.

BEAM counterpart to #5098. Depends on #5107 for the updated Async runtime; review the diff against that branch.

@dbrattli
dbrattli changed the base branch from main to feat/beam-async-task-parity October 16, 2026 20:02
@dbrattli
dbrattli marked this pull request as draft October 16, 2026 20:22

This branch has not been deployed

No deployments
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.

1 participant