Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Promise.Each to process operations as they complete #421

Closed
timcassell opened this issue Apr 1, 2024 · 0 comments · Fixed by #445
Closed

Add Promise.Each to process operations as they complete #421

timcassell opened this issue Apr 1, 2024 · 0 comments · Fixed by #445
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@timcassell
Copy link
Owner

Similar to new Task.WhenEach.

TPL uses WhenAll WhenAny WhenEach APIs, while ProtoPromise uses All Race, so it follows to use Each for this rather than WhenEach.

Also, instead of returning IAsyncEnumerable<Task<T>>, we can return AsyncEnumerable<Promise<T>.ResultContainer>.

@timcassell timcassell added the enhancement New feature or request label Apr 1, 2024
@timcassell timcassell added this to the v3.1.0 milestone Apr 14, 2024
@timcassell timcassell self-assigned this Jun 10, 2024
@timcassell timcassell linked a pull request Jun 16, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant