X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fpool-internal.ts;h=c3ec39bea578d3de3c0423f2ef789e0cd6c6f9df;hb=dba3384e0e6bc4049cb114d32e053cc4f2abe010;hp=ddfcc41ec40758e8520a2d708bf823aaaebeb39c;hpb=9f403c06a61133b685f03666dd9a2493c6d0eae2;p=poolifier.git diff --git a/src/pools/pool-internal.ts b/src/pools/pool-internal.ts index ddfcc41e..c3ec39be 100644 --- a/src/pools/pool-internal.ts +++ b/src/pools/pool-internal.ts @@ -75,7 +75,7 @@ export interface IPoolInternal< * * If a worker is found with `0` running tasks, it is detected as free and its key is returned. * - * If no free worker is found, `false` is returned. + * If no free worker is found, `-1` is returned. * * @returns A worker key if there is one, `-1` otherwise. */