Hacker News new | ask | show | jobs
by jakjak123 707 days 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
1 comments

Is it possible to enhance channels to fit into the iterator need? I mean using them without always creating new goroutines.