X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Finterfaces%2FWorkerOptions.html;h=e728b355da351286e152fa950eab8ee7ce97b8d6;hb=05132b129c331aeec41f5878d58456675e00dbd4;hp=e2c124d1f8fc01b6465e312b68fb03fd551c2673;hpb=c90257c0b2d2c8ebdc6abbee02361cc2ddae36b9;p=poolifier.git diff --git a/docs/interfaces/WorkerOptions.html b/docs/interfaces/WorkerOptions.html index e2c124d1..e728b355 100644 --- a/docs/interfaces/WorkerOptions.html +++ b/docs/interfaces/WorkerOptions.html @@ -1,13 +1,13 @@ -
Optional
asyncfalse
- -This option will be removed in the next major version.
-Optional
killThis option only apply to the newly created workers.
KillBehaviors.SOFT
+KillBehaviors.SOFT
+
Optional
killThe function to call when a worker is killed.
Optional
maxMaximum waiting time in milliseconds for tasks on newly created workers.
+Maximum waiting time in milliseconds for tasks on newly created workers. It must be greater or equal than 5.
After this time, newly created workers will be terminated. The last active time of your worker will be updated when it terminates a task.
60000
+60000
+
Generated using TypeDoc
Generated using TypeDoc
Whether your worker will perform asynchronous or not.
-