X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Finterfaces%2FWorkerOptions.html;h=2a1bb46ceab42556ee16237ce79790d2e8da7af7;hb=1cc6e9ef64f399f4ca58da8079ef72a011ac4227;hp=782447d47814ccedb335e917fb8c2e4f8ce24a98;hpb=010ae1ba98e5ab018fa09870982d511c9389b48b;p=poolifier.git diff --git a/docs/interfaces/WorkerOptions.html b/docs/interfaces/WorkerOptions.html index 782447d4..2a1bb46c 100644 --- a/docs/interfaces/WorkerOptions.html +++ b/docs/interfaces/WorkerOptions.html @@ -1,13 +1,13 @@ -
Optional
asyncOptional
asyncThis 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.