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

Consider adding a way to handle parallel tasks #98

Open
JohannesMoersch opened this issue May 20, 2020 · 1 comment
Open

Consider adding a way to handle parallel tasks #98

JohannesMoersch opened this issue May 20, 2020 · 1 comment

Comments

@JohannesMoersch
Copy link
Owner

Doing task parallelism without risking unhandled exceptions is a pain and easy to do incorrectly. Some method to allow passing multiple task factories with proper exception handling would be valuable.

@JohannesMoersch
Copy link
Owner Author

Ideally, if you aren't going to await a task immediate, it should have a try catch internally to assure it can never throw an unhandled exception. Also, they really should all be awaited.

There is Parallel.Invoke in the .net libraries. Perhaps this could tie in with Unions for merging failure types?

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

No branches or pull requests

1 participant