diff options
author | Wolfy-J <[email protected]> | 2019-05-04 00:09:12 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2019-05-04 00:09:12 +0300 |
commit | 727602f9d6e3b5a92f6fa0d7a497ab1ef358a349 (patch) | |
tree | ec41356d3e421284f44d8c82f3b297e5c8ab2c7a /pool.go | |
parent | f4515e276179d77e3f9457ba0d99545081ae50ea (diff) | |
parent | 8a2f79a622e9b3b6e20718a257bfdaaf8dbb8747 (diff) |
Merge pull request #144 from spiral/feature/updates
WIP: 1.4.0
Diffstat (limited to 'pool.go')
-rw-r--r-- | pool.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -31,6 +31,9 @@ type Pool interface { // Workers returns worker list associated with the pool. Workers() (workers []*Worker) + // 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() } |