diff options
Diffstat (limited to 'interfaces/worker/factory.go')
-rw-r--r-- | interfaces/worker/factory.go | 4 |
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 } |