X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIWorker.html;h=e1e40c63e225c906e41ba93bc52f98d2fb0191f5;hb=35e8f29cac8e1c1fecb8a3404107602d2d482f19;hp=3eaa9a67ce8cdfcc0075ce4f667980ae5fe64e14;hpb=a84c4698b83aaa02b9f10e52aa9c76eff5b5871f;p=poolifier.git diff --git a/docs/interfaces/IWorker.html b/docs/interfaces/IWorker.html index 3eaa9a67..e1e40c63 100644 --- a/docs/interfaces/IWorker.html +++ b/docs/interfaces/IWorker.html @@ -1,246 +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.
-