X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIWorker.html;h=ea00624e9c2b875688a80f4153585ee6f12b7fa1;hb=049c42848206f2c5c0db5a35efd8adc8796d1027;hp=0f47810ec65acbcdc8cb4beaba128968d576aee4;hpb=d0f1dce33156fdb99f0ca3627839001909419497;p=poolifier.git diff --git a/docs/interfaces/IWorker.html b/docs/interfaces/IWorker.html index 0f47810e..ea00624e 100644 --- a/docs/interfaces/IWorker.html +++ b/docs/interfaces/IWorker.html @@ -1,33 +1,206 @@ -
Register a listener to the message event.
-'message'
.
The message handler.
-Register a listener to the error event.
-'error'
.
The error handler.
-Register a listener to the online event.
-'online'
.
The online handler.
-Register a listener to the exit event.
-'exit'
.
The exit handler.
-Register a listener to the exit event that will only performed once.
-'exit'
.
The exit handler.
-Generated using TypeDoc
Worker interface.
+Optional
Readonly
idWorker id.
+Readonly
onRegisters an event listener.
+The event.
+ +The event handler.
+Readonly
onceRegisters a listener to the exit event that will only be performed once.
+The 'exit'
event.
The exit handler.
+Optional
Readonly
threadGenerated using TypeDoc
Basic interface that describes the minimum required implementation of listener events for a pool-worker.
-