You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
async's high-level API spawns lexically scoped threads, ensuring the following key poperties that make it safer to use than using plain forkIO:
No exception is swallowed (waiting for results propagates exceptions).
No thread is leaked (left running unintentionally).
Recently we've observed some infinite loops when one of the threads was crashing and I suspect this could fix that issue. I don't have a concrete example to share.
The text was updated successfully, but these errors were encountered:
using
forkIO
is not recommended because:Recently we've observed some infinite loops when one of the threads was crashing and I suspect this could fix that issue. I don't have a concrete example to share.
The text was updated successfully, but these errors were encountered: