diff options
author | Wolfy-J <[email protected]> | 2019-05-02 17:19:12 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2019-05-02 17:19:12 +0300 |
commit | a482d49122d92dd1cd82881ed221c55e5210e536 (patch) | |
tree | b0a7de9e1866aca46a726694231d69fc0c012462 /pool.go | |
parent | 7bd5da5327e0d6f602627006d55cf803b8c4a4c7 (diff) |
fixing tests
Diffstat (limited to 'pool.go')
-rw-r--r-- | pool.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -22,6 +22,10 @@ const ( // Pool managed set of inner worker processes. type Pool interface { + // Watch enables worker watching (to destroy expired workers or workers which experience + // memory leaks). + Watch(w Watcher) + // Listen all caused events to attached watcher. Listen(l func(event int, ctx interface{})) |