diff options
Diffstat (limited to 'pool.go')
-rw-r--r-- | pool.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |