summaryrefslogtreecommitdiff
path: root/pool.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-05-04 19:24:25 +0300
committerWolfy-J <[email protected]>2019-05-04 19:24:25 +0300
commit2efc533f2aac215d487a80020b0f9bf4ae5209c3 (patch)
treea80a7a74dc4ca8c290b8b1bf1f6d24535b5ae3d7 /pool.go
parent726b31008e73ab83d0582305c28a8cf62322e47a (diff)
watchers renamed to controllers
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 23857604..d863e96f 100644
--- a/pool.go
+++ b/pool.go
@@ -22,7 +22,7 @@ const (
// Pool managed set of inner worker processes.
type Pool interface {
- // Listen all caused events to attached watcher.
+ // Listen all caused events to attached controller.
Listen(l func(event int, ctx interface{}))
// Exec one task with given payload and context, returns result or error.