X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FWorkerOptions.html;h=e728b355da351286e152fa950eab8ee7ce97b8d6;hb=c8cd37e4c41d82c1cbce9b0ee1fefe4af4a181bd;hp=02938df8237e856c8a1e9e9ac765397387e88a6a;hpb=b9da9d7e74c720f83482a09d1b883fc83d04f4ed;p=poolifier.git diff --git a/docs/interfaces/WorkerOptions.html b/docs/interfaces/WorkerOptions.html index 02938df8..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
+Default Value
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.
Generated using TypeDoc
Whether your worker will perform asynchronous or not.
-