diff options
Diffstat (limited to 'interfaces/worker/worker.go')
-rw-r--r-- | interfaces/worker/worker.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/interfaces/worker/worker.go b/interfaces/worker/worker.go index 7f2f8a53..0ac82158 100644 --- a/interfaces/worker/worker.go +++ b/interfaces/worker/worker.go @@ -6,7 +6,6 @@ import ( "time" "github.com/spiral/goridge/v3/interfaces/relay" - "github.com/spiral/roadrunner/v2/interfaces/events" "github.com/spiral/roadrunner/v2/internal" "github.com/spiral/roadrunner/v2/pkg/payload" ) @@ -23,9 +22,6 @@ type BaseProcess interface { // Created returns time worker was created at. Created() time.Time - // AddListener attaches listener to consume worker events. - AddListener(listener events.EventListener) - // State return receive-only WorkerProcess state object, state can be used to safely access // WorkerProcess status, time when status changed and number of WorkerProcess executions. State() internal.State |