X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIWorker.html;h=040b4311be31baf4c9109ca5a0c41b0a86eff613;hb=e9fc6983e78e6e1ca6b29c5390ae66320cdf668a;hp=021d7fd9f1235ea700081845b979fdff18d162cf;hpb=da631e977b488fb76cc1881c991a6fda8d8bb6e0;p=poolifier.git diff --git a/docs/interfaces/IWorker.html b/docs/interfaces/IWorker.html index 021d7fd9..040b4311 100644 --- a/docs/interfaces/IWorker.html +++ b/docs/interfaces/IWorker.html @@ -1,206 +1,31 @@ -
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
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 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.
-