repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
docs: enhance documentation
[poolifier.git]
/
src
/
pools
/
pool.ts
diff --git
a/src/pools/pool.ts
b/src/pools/pool.ts
index 92e399edf37bc51f2af2a45db428851f2e63be18..17088559a32620f48175cb273bf709f6af817a90 100644
(file)
--- a/
src/pools/pool.ts
+++ b/
src/pools/pool.ts
@@
-60,6
+60,8
@@
export interface TasksQueueOptions {
/**
* Options for a poolifier pool.
/**
* Options for a poolifier pool.
+ *
+ * @typeParam Worker - The worker type.
*/
export interface PoolOptions<Worker extends IWorker> {
/**
*/
export interface PoolOptions<Worker extends IWorker> {
/**
@@
-138,18
+140,6
@@
export interface IPool<
* - `'busy'`: Emitted when the pool is busy.
*/
readonly emitter?: PoolEmitter
* - `'busy'`: Emitted when the pool is busy.
*/
readonly emitter?: PoolEmitter
- /**
- * Whether the pool is full or not.
- *
- * The pool filling boolean status.
- */
- readonly full: boolean
- /**
- * Whether the pool is busy or not.
- *
- * The pool busyness boolean status.
- */
- readonly busy: boolean
/**
* Finds a free worker node key based on the number of tasks the worker has applied.
*
/**
* Finds a free worker node key based on the number of tasks the worker has applied.
*