4 ms·
If you have shipped some task to a channel, or is waiting for some work to complete on a channel, there is no native way to propagate the error that your task
by jakjak123 2y ago
If you have shipped some task to a channel, or is waiting for some work to complete on a channel, there is no native way to propagate the error that your task may have failed. Also if a error did happen during processing the task you put on the channel, the stacktrace suddenly is not the whole story anymore. Channels also has no way to make sure the context.Context is reasonably propagated
- tapirl 2y agoIs it possible to enhance channels to fit into the iterator need? I mean using them without always creating new goroutines.