docs: refine README
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 10 Jun 2023 10:26:49 +0000 (12:26 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 10 Jun 2023 10:26:49 +0000 (12:26 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
README.md

index d3a4534f3ee33d13f957aee65ef6a6cefa446ae0..6f94626a23daab699b05ff274d35fc5dba69a7ba 100644 (file)
--- a/README.md
+++ b/README.md
@@ -150,7 +150,7 @@ Node versions >= 16.14.x are supported.
 
 ## [API](https://poolifier.github.io/poolifier/)
 
-### Pool options
+### `PoolOptions`
 
 An object with these properties:
 
@@ -196,11 +196,11 @@ An object with these properties:
 
   Default: `{ concurrency: 1 }`
 
-#### Thread pool specific options
+#### `ThreadPoolOptions`
 
 - `workerOptions` (optional) - An object with the worker options. See [worker_threads](https://nodejs.org/api/worker_threads.html#worker_threads_new_worker_filename_options) for more details.
 
-#### Cluster pool specific options
+#### `ClusterPoolOptions`
 
 - `env` (optional) - An object with the environment variables to pass to the worker. See [cluster](https://nodejs.org/api/cluster.html#cluster_cluster_fork_env) for more details.