Worker must be implemented by types that want to use the work pool.
| 7 | // Worker must be implemented by types that want to use |
| 8 | // the work pool. |
| 9 | type Worker interface { |
| 10 | Task() |
| 11 | } |
| 12 | |
| 13 | // Pool provides a pool of goroutines that can execute any Worker |
| 14 | // tasks that are submitted. |
no outgoing calls
no test coverage detected