We don't need to close the channels on stopping a task. We use a Context to exit from the task results loop. |
||
|---|---|---|
| .. | ||
| main.go | ||
| main_test.go | ||
We don't need to close the channels on stopping a task. We use a Context to exit from the task results loop. |
||
|---|---|---|
| .. | ||
| main.go | ||
| main_test.go | ||