X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIWorker.html;h=41c83480b65d39a8a52705794f0659f43e136281;hb=0766991a1f087ea0a03617d200b064e0db2d435a;hp=553c4f157a9f383052dc777d1330bfd3786701da;hpb=c4d8442aed5e5a9d6cde9f3bfd721be3033c1eef;p=poolifier.git diff --git a/docs/interfaces/IWorker.html b/docs/interfaces/IWorker.html index 553c4f15..41c83480 100644 --- a/docs/interfaces/IWorker.html +++ b/docs/interfaces/IWorker.html @@ -1,206 +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.
-The 'exit'
event.
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.
-