Replies: 2 comments
-
Hello, let's see...
Yes, (as you probably already know, but I will say anyway) there's just a
When the parent is closing (due to an exception being raised in the parent, or due to the program reaching the end of a It is not exported because child threads are encouraged to follow async exception best practices: whenever one is raised, do any necessary cleanup, then re-raise the exception. Not all async exceptions must be handled this way. For example, if you receive a Hope that helps, let me know if you have any concrete doc suggestions! |
Beta Was this translation helpful? Give feedback.
-
Thanks, that's helpful! |
Beta Was this translation helpful? Give feedback.
-
I had some questions reading the (generally good!) documentation.
ScopeClosing
, but it's not exported. Maybe you never need it? But I could imagine a situation where you want to catch various other async exceptions but notScopeClosing
.Beta Was this translation helpful? Give feedback.
All reactions