Replies: 1 comment 1 reply
-
OK, I've flipped that switch so we can try it out! To the actual question -- I'm not aware of any particular patterns for this, but I think a channel should be fine, depending on how you handle the receiving end. For example, if you block on |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, and thanks a lot for Rayon!
This issue is more like a question, but GitHub discussions aren't enabled here and I didn't want to use a synchronous communication medium.I'm currently using scoped tasks (
Scope::spawn
) for the first time and am wondering if there are any established patterns for reporting errors that happen in those. I think I want to collect all the errors and print them after the scope ends. I guess is easy enough with an MPSC channel? That's what I will try first in any case. I'm just wondering: Are there any established error-handling patterns for scoped tasks? Is this discussed in the documentation somewhere and I just missed it?Beta Was this translation helpful? Give feedback.
All reactions