X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FIWorker.html;h=5bcc6578ed956767cac822f3102f1972e36d7e6a;hb=e8dacfb2833a6682fad27f857b1127a1e04b2f04;hp=07305dec61359bc20677ea876bc0375224d96b6d;hpb=13aa72e5091fcfe52dcd2acf1039091e1d55ea32;p=poolifier.git
diff --git a/docs/interfaces/IWorker.html b/docs/interfaces/IWorker.html
index 07305dec..5bcc6578 100644
--- a/docs/interfaces/IWorker.html
+++ b/docs/interfaces/IWorker.html
@@ -1,4 +1,4 @@
-
IWorker | poolifier
+IWorker | poolifier
@@ -23,7 +23,7 @@
+
Defined in src/pools/worker.ts:93
@@ -31,14 +31,14 @@
Properties
-
+
on
-
+on: ((event, handler) => void) & ((event, handler) => void) & ((event, handler) => void) & ((event, handler) => void)
-
+
once
-
+once: ((event, handler) => void)
Type declaration
-
-
-- (event: "exit", handler: ExitHandler<IWorker>): void
+
+- (event, handler): void
-
@@ -63,16 +63,16 @@
Parameters
-
-
event: "exit"
+event: "exit"
-
-
+
Returns void
+
Defined in src/pools/worker.ts:110
+Theme
On This Page
+on
+once
+PoolType
+AbstractPool
+AbstractWorker
+CircularArray
+ClusterWorker
+DynamicClusterPool
+DynamicThreadPool
+FixedClusterPool
+FixedThreadPool
+PoolEmitter
+Queue
+ThreadWorker
+WorkerChoiceStrategyContext
+ClusterPoolOptions
+IPool
+IWorker
+IWorkerChoiceStrategy
+MessageValue
+PoolOptions
+PromiseResponseWrapper
+RequiredStatistics
+Task
+TasksQueueOptions
+TasksUsage
+WorkerChoiceStrategyOptions
+WorkerNode
+WorkerOptions
+Draft
+ErrorHandler
+ExitHandler
+KillBehavior
+MessageHandler
+OnlineHandler
+PoolEvent
+TaskFunctions
+ThreadWorkerWithMessageChannel
+WorkerAsyncFunction
+WorkerChoiceStrategy
+WorkerFunction
+WorkerSyncFunction
+KillBehaviors
+PoolEvents
+WorkerChoiceStrategies
\ No newline at end of file
Register an event listener.
Param
The event.
@@ -46,16 +46,16 @@Param
The event handler.