X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FIWorker.html;h=2acbc6faae42d733678bdb3426ee3244a55df048;hb=d087803425ae5b3577028029dd1d2dae67d7f63b;hp=db25934c1ebf8fc427fb5f6dfbe5a08a0b478e46;hpb=3c7c9bd12cf4b0cec0e0a3825c31f7cc9f3f58fe;p=poolifier.git diff --git a/docs/interfaces/IWorker.html b/docs/interfaces/IWorker.html index db25934c..2acbc6fa 100644 --- a/docs/interfaces/IWorker.html +++ b/docs/interfaces/IWorker.html @@ -1,243 +1,21 @@ -
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.
-'exit'
.
The exit handler.
-Optional
Readonly
threadGenerated using TypeDoc
Optional
Readonly
disconnectCluster worker disconnect.
+Optional
Readonly
idCluster worker id.
+Optional
Readonly
killCluster worker kill.
+Optional
signal: stringReadonly
onRegisters an event handler.
+The event.
+The event handler.
+Readonly
onceRegisters once an 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.
Optional
Readonly
threadWorker thread worker id.
+Generated using TypeDoc
Worker interface.
-