X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FWorkerOptions.html;h=2a1bb46ceab42556ee16237ce79790d2e8da7af7;hb=1cc6e9ef64f399f4ca58da8079ef72a011ac4227;hp=7ee119f20d2b8d7cd3b1400d79559be3d1c3c411;hpb=c7e01b67847217903200f2453a4ffd4ba6bb191a;p=poolifier.git diff --git a/docs/interfaces/WorkerOptions.html b/docs/interfaces/WorkerOptions.html index 7ee119f2..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.