From 6f39542d75d0da1e0ff09906bdd340f855a409af Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Mon, 19 Oct 2020 14:06:26 +0300 Subject: Add some comments --- pool.go | 1 + 1 file changed, 1 insertion(+) 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. -- cgit v1.2.3