summaryrefslogtreecommitdiff
path: root/interfaces/worker
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-26 13:13:59 +0300
committerValery Piashchynski <[email protected]>2020-12-26 13:13:59 +0300
commit1aaf6e6ffb015cd5a21d9d938ad84c18723973c5 (patch)
tree7221427ba25f8f99a10720778a420703dc2bff92 /interfaces/worker
parentde4d0b6e66ceda08b0daec18a218c1baa71ebf04 (diff)
Reorganize eventsv2.0.0-beta4
Diffstat (limited to 'interfaces/worker')
-rw-r--r--interfaces/worker/factory.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/interfaces/worker/factory.go b/interfaces/worker/factory.go
index 8412428d..376303df 100644
--- a/interfaces/worker/factory.go
+++ b/interfaces/worker/factory.go
@@ -11,10 +11,10 @@ import (
type Factory interface {
// SpawnWorkerWithContext creates new WorkerProcess process based on given command with context.
// Process must not be started.
- SpawnWorkerWithTimeout(context.Context, *exec.Cmd, ...events.EventListener) (BaseProcess, error)
+ SpawnWorkerWithTimeout(context.Context, *exec.Cmd, ...events.Listener) (BaseProcess, error)
// SpawnWorker creates new WorkerProcess process based on given command.
// Process must not be started.
- SpawnWorker(*exec.Cmd, ...events.EventListener) (BaseProcess, error)
+ SpawnWorker(*exec.Cmd, ...events.Listener) (BaseProcess, error)
// Close the factory and underlying connections.
Close() error
}