diff options
Diffstat (limited to 'watcher.go')
-rw-r--r-- | watcher.go | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,6 +1,10 @@ package roadrunner -// disconnect?? +// Watcher observes pool state and decides if any worker must be destroyed. type Watcher interface { - // ?? lock on pool + // Lock watcher on given pool instance. + Attach(p Pool) Watcher + + // Detach pool watching. + Detach() } |