summaryrefslogtreecommitdiff
path: root/pkg/worker_watcher/container/interface.go
blob: bb66897f41bf596a2e07c3805a3b3a01e86f09e2 (plain)
1
2
3
4
5
6
7
8
9
package container

import "github.com/spiral/roadrunner/v2/pkg/worker"

type Vector interface {
	Enqueue(worker.BaseProcess)
	Dequeue() (worker.BaseProcess, bool)
	Destroy()
}