summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-10-19 14:06:26 +0300
committerValery Piashchynski <[email protected]>2020-10-19 14:06:26 +0300
commit6f39542d75d0da1e0ff09906bdd340f855a409af (patch)
tree31415f9fd08ccb52452407086c103c06532b64a4
parent563d8b4a2f4e1553028098cc95e209a2a37c18e9 (diff)
Add some commentsv2.0.0-alpha13
-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.