diff options
author | Wolfy-J <[email protected]> | 2018-03-31 18:28:41 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-03-31 18:28:41 +0300 |
commit | 73240266eb12fbc763d9780ba66ffa8bc0f2c38b (patch) | |
tree | ac0c954e944b6f923409530cb0dc2288cd4057d5 /pool.go | |
parent | 28dbf39fb02a44be291befd9ff49cdaf8847a0d3 (diff) |
worker destruction made public
Diffstat (limited to 'pool.go')
-rw-r--r-- | pool.go | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -19,9 +19,6 @@ type Pool interface { // Workers returns worker list associated with the pool. Workers() (workers []*Worker) - // Replace replaces dead or expired worker with new instance. - Replace(w *Worker, caused interface{}) - // Destroy all underlying workers (but let them to complete the task). Destroy() } |