docs: add changelog entry
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 15 Aug 2023 14:12:21 +0000 (16:12 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 15 Aug 2023 14:12:21 +0000 (16:12 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
CHANGELOG.md

index f897624e45e4391fb891ad90d10b6e05b27cb3e0..77bd77a69f9fca0824f824dbabe8b1f4099408b9 100644 (file)
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 ### Added
 
 - Add kill handler to worker options allowing to execute custom code when worker is killed.
+- Add listTaskFunctions() method to pool API.
 - SMTP server pool example: nodemailer.
 
 ## [2.6.25] - 2023-08-13
@@ -81,7 +82,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ### Added
 
-- Add `listTaskFunctions()` method to worker class.
+- Add `listTaskFunctions()` method to worker API.
 
 ## [2.6.16] - 2023-07-12
 
@@ -728,15 +729,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ```js
 // Before
-const DynamicThreadPool = require('poolifier/lib/dynamic')
+const DynamicThreadPool = require("poolifier/lib/dynamic");
 // After
-const { DynamicThreadPool } = require('poolifier/lib/dynamic')
+const { DynamicThreadPool } = require("poolifier/lib/dynamic");
 ```
 
 But you should always prefer just using
 
 ```js
-const { DynamicThreadPool } = require('poolifier')
+const { DynamicThreadPool } = require("poolifier");
 ```
 
 #### New type definitions for input data and response