X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fpool.ts;h=e9a093fad6c0287f68f1758a5bc4902d80383317;hb=ea7a90d36354a4e1c833271571c6f3eb80428600;hp=8da89156ecef7869dd1d8a4e5fe5096a168e8280;hpb=bdaf31cd0e637aa466c78d54a49f157899a2cb3f;p=poolifier.git diff --git a/src/pools/pool.ts b/src/pools/pool.ts index 8da89156..e9a093fa 100644 --- a/src/pools/pool.ts +++ b/src/pools/pool.ts @@ -46,18 +46,18 @@ export interface PoolOptions { */ export interface IPool { /** - * Perform the task specified in the constructor with the data parameter. + * Performs the task specified in the constructor with the data parameter. * * @param data The input for the specified task. This can only be serializable data. * @returns Promise that will be resolved when the task is successfully completed. */ execute(data: Data): Promise /** - * Shut down every current worker in this pool. + * Shutdowns every current worker in this pool. */ destroy(): Promise /** - * Set the worker choice strategy in this pool. + * Sets the worker choice strategy in this pool. * * @param workerChoiceStrategy The worker choice strategy. */