Versions in this module Expand all Collapse all v2 v2.0.0 Oct 8, 2026 Changes in this version + type Allocator func() (*worker.Process, error) + type WorkerWatcher struct + func NewSyncWorkerWatcher(allocator Allocator, log *slog.Logger, numWorkers uint64, ...) *WorkerWatcher + func (ww *WorkerWatcher) AddWorker() error + func (ww *WorkerWatcher) Allocate() error + func (ww *WorkerWatcher) Destroy(ctx context.Context) + func (ww *WorkerWatcher) FreeWorkers() int + func (ww *WorkerWatcher) List() []*worker.Process + func (ww *WorkerWatcher) NumWorkers() uint64 + func (ww *WorkerWatcher) Release(w *worker.Process) + func (ww *WorkerWatcher) RemoveWorker(ctx context.Context) error + func (ww *WorkerWatcher) Reset(ctx context.Context) uint64 + func (ww *WorkerWatcher) Take(ctx context.Context) (*worker.Process, error) + func (ww *WorkerWatcher) Watch(workers []*worker.Process) v2.0.0-beta.1 Mar 20, 2026 Other modules containing this package github.com/roadrunner-server/pool