summaryrefslogtreecommitdiff
path: root/pool.go
diff options
context:
space:
mode:
Diffstat (limited to 'pool.go')
-rw-r--r--pool.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pool.go b/pool.go
index a7721050..121967c5 100644
--- a/pool.go
+++ b/pool.go
@@ -19,7 +19,7 @@ const (
// Pool managed set of inner worker processes.
type Pool interface {
- // Listen all caused events to attached watcher.
+ // AddListener 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.