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

example suggestion: dealing with Tasks with different error types #147

Open
Anton-4 opened this issue Jan 8, 2024 · 0 comments
Open

example suggestion: dealing with Tasks with different error types #147

Anton-4 opened this issue Jan 8, 2024 · 0 comments

Comments

@Anton-4
Copy link
Collaborator

Anton-4 commented Jan 8, 2024

Task.await is easy to reach for but its type signature makes it look like all tasks involved need to have the same error type. In reality errors are automatically combined with open tag unions. This situation is worth an example because I imagine this could be a common question.

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

No branches or pull requests

1 participant