X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIPool.html;h=73ce654de454741de3d96fef17df859fbac26aab;hb=6cbae9fd636239a8a1c668fd1f70c31093c5d6e2;hp=89bbe7e34ef4db8f7065a8f5965b31a287c30a5f;hpb=222387cba569774821d225147ac6f35f4f1bc696;p=poolifier.git diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html index 89bbe7e3..73ce654d 100644 --- a/docs/interfaces/IPool.html +++ b/docs/interfaces/IPool.html @@ -1,4 +1,4 @@ -
Optional
Readonly
emitterReadonly
enableReadonly
executeOptional
data: DataThe task input data for the specified worker function. This can only be structured-cloneable data.
+The task input data for the specified task function. This can only be structured-cloneable data.
Optional
name: stringThe name of the worker function to execute. If not specified, the default worker function will be executed.
+The name of the task function to execute. If not specified, the default task function will be executed.
Promise that will be fulfilled when the task is completed.
Readonly
infoReadonly
setReadonly
setReadonly
setReadonly
worker
Terminates every current worker in this pool.
+Terminates all workers in this pool.
Returns Promise<void>