summaryrefslogtreecommitdiff
path: root/pool.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-03 12:54:43 +0300
committerWolfy-J <[email protected]>2018-06-03 12:54:43 +0300
commit36ea77baa5a41de10bd604cd0e5b5b3cafaaeb64 (patch)
tree13ca8abd454a6668f490eec2e44b1520bd3953fe /pool.go
parentb02611b7266589d888e054a1d2e4432ae370617d (diff)
service bus, http service, rpc bus, cli commands, new configs
Diffstat (limited to 'pool.go')
-rw-r--r--pool.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/pool.go b/pool.go
index 360b895d..ac1a6820 100644
--- a/pool.go
+++ b/pool.go
@@ -4,9 +4,12 @@ const (
// EventWorkerCreate thrown when new worker is spawned.
EventWorkerCreate = iota
- // EventWorkerDestruct thrown before worker destruction.
+ // EventWorkerDestruct thrown after worker destruction.
EventWorkerDestruct
+ // EventWorkerKill thrown after worker is being forcefully killed.
+ EventWorkerKill
+
// EventWorkerError thrown any worker related even happen (passed with WorkerError)
EventWorkerError