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
Errors are surfaced using the same mechanisms that are used to surface errors when calling a function in a separate go routine. Typically this is a channel or by closure with synchronization. Treat calling wp.Submit(somefunc) the same as calling go somefunc()
@gammazero I reused your implementation and fully integrated it into an open-sourced async package from my company. We can handle errors and context much better using a dedicated Task struct instead of func().
How do you surface errors in your tasks?
The text was updated successfully, but these errors were encountered: