Comment by danenania

Comment by danenania 10 hours ago

0 replies

> It doesn't wait until all of them are done before returning a result to the consumer.

Right, but it prevents goroutine leaks. In these situations I'm usually fine with bailing on the first error, but I grant that's not always desirable. If it's not, I would collect and join errors and return those along with partial results (if those are useful).