diff options
author | Wolfy-J <[email protected]> | 2018-04-15 12:48:06 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-04-15 12:48:06 +0300 |
commit | e2c1c66d7a35a9c60a4f05126691242068ebb589 (patch) | |
tree | 76db075971f2fe683ed3bf643bbf097b47178a5a /pool.go | |
parent | f8ff7aeedc893969d02115d23b62503a75228446 (diff) |
report instead of observe
Diffstat (limited to 'pool.go')
-rw-r--r-- | pool.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,7 +13,7 @@ const ( // Pool managed set of inner worker processes. type Pool interface { - // Watch attaches pool event watcher. + // Report attaches pool event watcher. Watch(o func(event int, w *Worker, ctx interface{})) // Exec one task with given payload and context, returns result or error. |