diff options
Diffstat (limited to 'pool.go')
-rw-r--r-- | pool.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13,8 +13,8 @@ const ( // Pool managed set of inner worker processes. type Pool interface { - // Report attaches pool event watcher. - Watch(o func(event int, w *Worker, ctx interface{})) + // Report all caused events to attached watcher. + Report(o func(event int, w *Worker, ctx interface{})) // Exec one task with given payload and context, returns result or error. Exec(rqs *Payload) (rsp *Payload, err error) |