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 e432ec25..d22830a6 100644
--- a/pool.go
+++ b/pool.go
@@ -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.