# Node Thread Pool :arrow_double_up: :on:
[](https://standardjs.com)
[](https://badgen.net/dependabot/dependabot/dependabot-core/?icon=dependabot)
# Node Thread Pool :arrow_double_up: :on:
[](https://standardjs.com)
[](https://badgen.net/dependabot/dependabot/dependabot-core/?icon=dependabot)
-[](https://coveralls.io/github/pioardi/node-thread-pool?branch=master)
-[](http://makeapullrequest.com)
+[](https://coveralls.io/github/pioardi/poolifier?branch=master)[](http://makeapullrequest.com)
[](https://img.shields.io/static/v1?label=dependencies&message=no%20dependencies&color=brightgreen
)
[](https://img.shields.io/static/v1?label=dependencies&message=no%20dependencies&color=brightgreen
)
-<strong> See examples folder for more details ( in particular if you want to use a pool for [multiple functions](./examples/multiFunctionExample.js) ).</strong>
+<strong> See examples folder for more details( in particular if you want to use a pool for [multiple functions](./examples/multiFunctionExample.js) ).</strong>
+<strong>Now type script is also supported, find how to use it into the example folder </strong>
`fn` (mandatory) The function that you want to execute on the worker thread <br>
`opts` (optional) An object with these properties :
- `maxInactiveTime` - Max time to wait tasks to work on ( in ms) , after this period the new worker threads will die.
`fn` (mandatory) The function that you want to execute on the worker thread <br>
`opts` (optional) An object with these properties :
- `maxInactiveTime` - Max time to wait tasks to work on ( in ms) , after this period the new worker threads will die.
<h2 id="cyp">Choose your pool</h2>
Performance is one of the main target of these thread pool implementations, we want to have a strong focus on this.<br>
<h2 id="cyp">Choose your pool</h2>
Performance is one of the main target of these thread pool implementations, we want to have a strong focus on this.<br>