diff options
author | Valery Piashchynski <[email protected]> | 2021-02-11 14:06:10 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2021-02-11 14:06:10 +0300 |
commit | 8f6cafdc0948a5ea13bf9a811b576aa4b3ef7e4a (patch) | |
tree | 92727c3ff8087597bac65eee2c26c9484c98be7f /pkg/pool/interface.go | |
parent | 7978c59f0ed286912bfcaec81b76e54532b1a9bf (diff) | |
parent | 509abc76a0f7b88678de67843ca79d9052ad8dd6 (diff) |
Merge pull request #530 from spiral/release_stabilizationv2.0.0-RC.1
stabilization(RC): rc stabilization
Diffstat (limited to 'pkg/pool/interface.go')
-rw-r--r-- | pkg/pool/interface.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/pool/interface.go b/pkg/pool/interface.go index 4f7ae595..bfc56c3f 100644 --- a/pkg/pool/interface.go +++ b/pkg/pool/interface.go @@ -19,10 +19,10 @@ type Pool interface { ExecWithContext(ctx context.Context, rqs payload.Payload) (payload.Payload, error) // Workers returns worker list associated with the pool. - Workers() (workers []worker.SyncWorker) + Workers() (workers []worker.BaseProcess) // Remove worker from the pool. - RemoveWorker(worker worker.SyncWorker) error + RemoveWorker(worker worker.BaseProcess) error // Destroy all underlying stack (but let them to complete the task). Destroy(ctx context.Context) |