diff options
Diffstat (limited to 'pool.go')
-rw-r--r-- | pool.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -31,8 +31,8 @@ type Pool interface { // Workers returns worker list associated with the pool. Workers() (workers []*Worker) - // Remove forces pool to remove specific worker. - Remove(w *Worker, err error) + // Remove forces pool to remove specific worker. Return true is this is first remove request on given worker. + Remove(w *Worker, err error) bool // Destroy all underlying workers (but let them to complete the task). Destroy() |