summaryrefslogtreecommitdiff
path: root/pool.go
diff options
context:
space:
mode:
Diffstat (limited to 'pool.go')
-rw-r--r--pool.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pool.go b/pool.go
index 9038c730..d9886360 100644
--- a/pool.go
+++ b/pool.go
@@ -48,6 +48,7 @@ type Pool interface {
// Exec one task with given payload and context, returns result or error.
ExecWithContext(ctx context.Context, rqs Payload) (Payload, error)
+ // Exec
Exec(rqs Payload) (Payload, error)
// Workers returns worker list associated with the pool.