diff options
Diffstat (limited to 'pool.go')
-rw-r--r-- | pool.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ const ( // Pool managed set of inner worker processes. type Pool interface { - // AddListener all caused events to attached watcher. + // Listen all caused events to attached watcher. Listen(l func(event int, ctx interface{})) // Exec one task with given payload and context, returns result or error. |