repositories
/
poolifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
eb842a5
)
Apply dependencies update. (#369)
author
Jérôme Benoit
<jerome.benoit@piment-noir.org>
Mon, 17 May 2021 16:33:24 +0000
(18:33 +0200)
committer
GitHub
<noreply@github.com>
Mon, 17 May 2021 16:33:24 +0000
(18:33 +0200)
package-lock.json
patch
|
blob
|
blame
|
history
package.json
patch
|
blob
|
blame
|
history
src/pools/cluster/dynamic.ts
patch
|
blob
|
blame
|
history
src/pools/cluster/fixed.ts
patch
|
blob
|
blame
|
history
src/pools/thread/dynamic.ts
patch
|
blob
|
blame
|
history
src/pools/thread/fixed.ts
patch
|
blob
|
blame
|
history
src/worker/cluster-worker.ts
patch
|
blob
|
blame
|
history
src/worker/thread-worker.ts
patch
|
blob
|
blame
|
history
diff --git
a/package-lock.json
b/package-lock.json
index 1b4f5f2877684bbd662b89d426bdd55cdc4f3afe..8c0e348218ae42efbbdb6655fb87feba5a7e4fb7 100644
(file)
--- a/
package-lock.json
+++ b/
package-lock.json
@@
-1658,9
+1658,9
@@
}
},
"eslint-plugin-import": {
}
},
"eslint-plugin-import": {
- "version": "2.23.
1
",
- "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.23.
1
.tgz",
- "integrity": "sha512-
epW62znqcFCyQeixVrqy26WpdN1Y3LZH5G9XCuiiTCVuksjC4Je+4o1z5mIpa6P1KMyz1n4RT436VSrZoA5+5A
==",
+ "version": "2.23.
2
",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.23.
2
.tgz",
+ "integrity": "sha512-
LmNoRptHBxOP+nb0PIKz1y6OSzCJlB+0g0IGS3XV4KaKk2q4szqQ6s6F1utVf5ZRkxk/QOTjdxe7v4VjS99Bsg
==",
"dev": true,
"requires": {
"array-includes": "^3.1.3",
"dev": true,
"requires": {
"array-includes": "^3.1.3",
@@
-1717,9
+1717,9
@@
}
},
"eslint-plugin-jsdoc": {
}
},
"eslint-plugin-jsdoc": {
- "version": "34.
3.0
",
- "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-34.
3.0
.tgz",
- "integrity": "sha512-
PKQpT76jK/eAX92Jj0Z+W7Ug4cgrxNgnEAHY5aSJJn5EkYdLy85zREzSMmmp5LoEnjPMYPp6H5c0WFFhWrZdP
Q==",
+ "version": "34.
6.3
",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-34.
6.3
.tgz",
+ "integrity": "sha512-
ixty4/Zl7cZ0fcvqQAWKuTzQ5hnWIirZOuJrzLtWV0RwF4E70/WG5vLXyppxDFbLCiwmYXjSkiqBfcKfm4VA3
Q==",
"dev": true,
"requires": {
"@es-joy/jsdoccomment": "^0.6.0",
"dev": true,
"requires": {
"@es-joy/jsdoccomment": "^0.6.0",
@@
-4573,9
+4573,9
@@
}
},
"spdx-license-ids": {
}
},
"spdx-license-ids": {
- "version": "3.0.
7
",
- "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.
7
.tgz",
- "integrity": "sha512-
U+MTEOO0AiDzxwFvoa4JVnMV6mZlJKk2sBLt90s7G0Gd0Mlknc7kxEn3nuDPNZRta7O2uy8oLcZLVT+4sqNZHQ
==",
+ "version": "3.0.
8
",
+ "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.
8
.tgz",
+ "integrity": "sha512-
NDgA96EnaLSvtbM7trJj+t1LUR3pirkDCcz9nOUlPb5DMBGsH7oES6C3hs3j7R9oHEa1EMvReS/BUAIT5Tcr0g
==",
"dev": true
},
"sprintf-js": {
"dev": true
},
"sprintf-js": {
diff --git
a/package.json
b/package.json
index 4dfcedb84cec03ddabcad2d31339747101101593..c335dc1397c94921300fe566e67833e174309850 100644
(file)
--- a/
package.json
+++ b/
package.json
@@
-70,8
+70,8
@@
"eslint": "^7.26.0",
"eslint-config-standard": "^16.0.2",
"eslint-define-config": "^1.0.8",
"eslint": "^7.26.0",
"eslint-config-standard": "^16.0.2",
"eslint-define-config": "^1.0.8",
- "eslint-plugin-import": "^2.23.
1
",
- "eslint-plugin-jsdoc": "^34.
3.0
",
+ "eslint-plugin-import": "^2.23.
2
",
+ "eslint-plugin-jsdoc": "^34.
6.3
",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettierx": "^0.18.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettierx": "^0.18.0",
"eslint-plugin-promise": "^5.1.0",
diff --git
a/src/pools/cluster/dynamic.ts
b/src/pools/cluster/dynamic.ts
index 33497b0314ef1e46eb3bd129557f31b5e5f4cc17..33c05a9220415fb43317bea9aa172b62d20207c7 100644
(file)
--- a/
src/pools/cluster/dynamic.ts
+++ b/
src/pools/cluster/dynamic.ts
@@
-8,9
+8,8
@@
import { FixedClusterPool } from './fixed'
* This cluster pool creates new workers when the others are busy, up to the maximum number of workers.
* When the maximum number of workers is reached, an event is emitted. If you want to listen to this event, use the pool's `emitter`.
*
* This cluster pool creates new workers when the others are busy, up to the maximum number of workers.
* When the maximum number of workers is reached, an event is emitted. If you want to listen to this event, use the pool's `emitter`.
*
- * @template Data Type of data sent to the worker. This can only be serializable data.
- * @template Response Type of response of execution. This can only be serializable data.
- *
+ * @template DataType of data sent to the worker. This can only be serializable data.
+ * @template ResponseType of response of execution. This can only be serializable data.
* @author [Christopher Quadflieg](https://github.com/Shinigami92)
* @since 2.0.0
*/
* @author [Christopher Quadflieg](https://github.com/Shinigami92)
* @since 2.0.0
*/
diff --git
a/src/pools/cluster/fixed.ts
b/src/pools/cluster/fixed.ts
index e1caf252332f7d0103a77a9470b1526a62613e78..ccffc6bba9cbb32888170cba58ca59b0fab8a8dd 100644
(file)
--- a/
src/pools/cluster/fixed.ts
+++ b/
src/pools/cluster/fixed.ts
@@
-24,9
+24,8
@@
export interface ClusterPoolOptions extends PoolOptions<Worker> {
*
* This pool selects the workers in a round robin fashion.
*
*
* This pool selects the workers in a round robin fashion.
*
- * @template Data Type of data sent to the worker. This can only be serializable data.
- * @template Response Type of response of execution. This can only be serializable data.
- *
+ * @template DataType of data sent to the worker. This can only be serializable data.
+ * @template ResponseType of response of execution. This can only be serializable data.
* @author [Christopher Quadflieg](https://github.com/Shinigami92)
* @since 2.0.0
*/
* @author [Christopher Quadflieg](https://github.com/Shinigami92)
* @since 2.0.0
*/
diff --git
a/src/pools/thread/dynamic.ts
b/src/pools/thread/dynamic.ts
index 16aeb4397795287d46e85a1278bf1f7357ee1ecb..932a0cd5ab40dcd454f90eaf8977f30b9194c2a0 100644
(file)
--- a/
src/pools/thread/dynamic.ts
+++ b/
src/pools/thread/dynamic.ts
@@
-9,9
+9,8
@@
import { FixedThreadPool } from './fixed'
* This thread pool creates new threads when the others are busy, up to the maximum number of threads.
* When the maximum number of threads is reached, an event is emitted. If you want to listen to this event, use the pool's `emitter`.
*
* This thread pool creates new threads when the others are busy, up to the maximum number of threads.
* When the maximum number of threads is reached, an event is emitted. If you want to listen to this event, use the pool's `emitter`.
*
- * @template Data Type of data sent to the worker. This can only be serializable data.
- * @template Response Type of response of execution. This can only be serializable data.
- *
+ * @template DataType of data sent to the worker. This can only be serializable data.
+ * @template ResponseType of response of execution. This can only be serializable data.
* @author [Alessandro Pio Ardizio](https://github.com/pioardi)
* @since 0.0.1
*/
* @author [Alessandro Pio Ardizio](https://github.com/pioardi)
* @since 0.0.1
*/
diff --git
a/src/pools/thread/fixed.ts
b/src/pools/thread/fixed.ts
index 7dda3f3090f72459a599128213364cb380a7356b..a13023409bfad3493f79f2757f9a1623749e8b20 100644
(file)
--- a/
src/pools/thread/fixed.ts
+++ b/
src/pools/thread/fixed.ts
@@
-16,9
+16,8
@@
export type ThreadWorkerWithMessageChannel = Worker & Draft<MessageChannel>
*
* This pool selects the threads in a round robin fashion.
*
*
* This pool selects the threads in a round robin fashion.
*
- * @template Data Type of data sent to the worker. This can only be serializable data.
- * @template Response Type of response of execution. This can only be serializable data.
- *
+ * @template DataType of data sent to the worker. This can only be serializable data.
+ * @template ResponseType of response of execution. This can only be serializable data.
* @author [Alessandro Pio Ardizio](https://github.com/pioardi)
* @since 0.0.1
*/
* @author [Alessandro Pio Ardizio](https://github.com/pioardi)
* @since 0.0.1
*/
diff --git
a/src/worker/cluster-worker.ts
b/src/worker/cluster-worker.ts
index aa6aa92f6f1471839530b07e718df4e1f3bcdd56..1028b9a969cc3622abd546705362ea099eb30f5c 100644
(file)
--- a/
src/worker/cluster-worker.ts
+++ b/
src/worker/cluster-worker.ts
@@
-13,9
+13,8
@@
import type { WorkerOptions } from './worker-options'
* If you use a `DynamicClusterPool` the extra workers that were created will be terminated,
* but the minimum number of workers will be guaranteed.
*
* If you use a `DynamicClusterPool` the extra workers that were created will be terminated,
* but the minimum number of workers will be guaranteed.
*
- * @template Data Type of data this worker receives from pool's execution. This can only be serializable data.
- * @template Response Type of response the worker sends back to the main worker. This can only be serializable data.
- *
+ * @template DataType of data this worker receives from pool's execution. This can only be serializable data.
+ * @template ResponseType of response the worker sends back to the main worker. This can only be serializable data.
* @author [Christopher Quadflieg](https://github.com/Shinigami92)
* @since 2.0.0
*/
* @author [Christopher Quadflieg](https://github.com/Shinigami92)
* @since 2.0.0
*/
diff --git
a/src/worker/thread-worker.ts
b/src/worker/thread-worker.ts
index f1e38076698622d1d4f010e821453842d16113a3..1456daefdac3dce760f660c07869c1abb2598af4 100644
(file)
--- a/
src/worker/thread-worker.ts
+++ b/
src/worker/thread-worker.ts
@@
-13,9
+13,8
@@
import type { WorkerOptions } from './worker-options'
* If you use a `DynamicThreadPool` the extra workers that were created will be terminated,
* but the minimum number of workers will be guaranteed.
*
* If you use a `DynamicThreadPool` the extra workers that were created will be terminated,
* but the minimum number of workers will be guaranteed.
*
- * @template Data Type of data this worker receives from pool's execution. This can only be serializable data.
- * @template Response Type of response the worker sends back to the main thread. This can only be serializable data.
- *
+ * @template DataType of data this worker receives from pool's execution. This can only be serializable data.
+ * @template ResponseType of response the worker sends back to the main thread. This can only be serializable data.
* @author [Alessandro Pio Ardizio](https://github.com/pioardi)
* @since 0.0.1
*/
* @author [Alessandro Pio Ardizio](https://github.com/pioardi)
* @since 0.0.1
*/