X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Finterfaces%2FWorkerOptions.html;h=2a1bb46ceab42556ee16237ce79790d2e8da7af7;hb=1cc6e9ef64f399f4ca58da8079ef72a011ac4227;hp=61f34bc08bd2df8ed17ab7c76f3866072af64491;hpb=d8e6bb3c5f8adc1797760260a1a22c228f76e984;p=poolifier.git diff --git a/docs/interfaces/WorkerOptions.html b/docs/interfaces/WorkerOptions.html index 61f34bc0..2a1bb46c 100644 --- a/docs/interfaces/WorkerOptions.html +++ b/docs/interfaces/WorkerOptions.html @@ -1,13 +1,13 @@ -
Optional
asyncOptional
asyncfalse
+false
+
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
+ \ No newline at end of file
Whether your worker will perform asynchronous or not.