X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Finterfaces%2FIWorker.html;h=f36dbb9b4e8b1047b338b385e39142e3688f2a7c;hb=04d875a3942abe97ce35c177c6e6f41619be974b;hp=c2df6fa0f9150853b1367250e4e4466e6ce9008e;hpb=564ec16ceddb03324d81bfa385669cc188da03fd;p=poolifier.git diff --git a/docs/interfaces/IWorker.html b/docs/interfaces/IWorker.html index c2df6fa0..f36dbb9b 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.
-