X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FIPoolWorker.html;h=7f1fdc170fd951b6d0bbff03e4d42acd7ac994f4;hb=33c629765dcf8e17e2d3fa207a286b5d360fae78;hp=5518dbee3ba16a6511606b34cb07d4e8dece05a4;hpb=fe9f25b5ac98c7c7fccd1849a200c5054a77cf03;p=poolifier.git diff --git a/docs/interfaces/IPoolWorker.html b/docs/interfaces/IPoolWorker.html index 5518dbee..7f1fdc17 100644 --- a/docs/interfaces/IPoolWorker.html +++ b/docs/interfaces/IPoolWorker.html @@ -14,43 +14,30 @@
Basic interface that describes the minimum required implementation of listener events for a pool worker.
+Interface that describes the minimum required implementation of listener events for a pool worker.
Hierarchy
Index
Properties
-Methods
Properties
-
-Optional
Readonly
idWorker identifier.
-Methods
on
+on
-- on(event: "message", handler: MessageHandler<IPoolWorker>): void
+- on(event: "message", handler: MessageHandler<IPoolWorker>): void
-
@@ -62,12 +49,12 @@
-
-
Register a listener to the message event.
'message'
.handler: MessageHandler<IPoolWorker>
+handler: MessageHandler<IPoolWorker>
The message handler.
Returns void
+Register a listener to the error event.
@@ -85,7 +72,7 @@Returns void
+Register a listener to the online event.
@@ -103,7 +90,7 @@Returns void
+Register a listener to the exit event.
@@ -121,7 +108,7 @@Returns void