X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIWorker.html;h=74ba9185882b520a151b2f2d2a61c51a11ebd313;hb=a4bc8d0e51cf7f72567c4def19e5f791f148fdca;hp=17fbca2efe85aed2fd66b944a7f535329aeba4f2;hpb=e5c1b3572e6fe4cd11b32742c37039f3a6b3c373;p=poolifier.git diff --git a/docs/interfaces/IWorker.html b/docs/interfaces/IWorker.html index 17fbca2e..74ba9185 100644 --- a/docs/interfaces/IWorker.html +++ b/docs/interfaces/IWorker.html @@ -1,13 +1,31 @@ -
Worker interface.
+Optional
Readonly
idWorker id.
-Readonly
onRegisters an event listener.
-The event.
+Optional
Readonly
disconnectCluster worker disconnect.
+Cluster worker disconnect.
+Optional
Readonly
idCluster worker id.
+Optional
Readonly
killCluster worker kill.
+Cluster worker kill.
+Optional
signal: stringReadonly
onRegisters an event handler.
+Registers an event handler.
+The event.
+The event handler.
+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
Readonly
onceRegisters once an event handler.
+Registers once an event handler.
+The event.
+The event handler.
+The event.
+The event handler.
+Optional
Readonly
terminateStop all JavaScript execution in the worker thread as soon as possible.
+Returns a Promise for the exit code that is fulfilled when the 'exit' event
is emitted.
Stop all JavaScript execution in the worker thread as soon as possible.
+Returns a Promise for the exit code that is fulfilled when the 'exit' event
is emitted.
Optional
Readonly
threadWorker thread worker id.
+Generated using TypeDoc
Worker interface.
-