mstephen19 / nanolith

Multithreading in Node.js made simple with seamless TypeScript support.

Home Page:https://www.npmjs.com/package/nanolith

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typing for `__initializeService` task function

mstephen19 opened this issue · comments

The newest version of Nanolith allows for the usage of a __initializeService function that will be run each time a service is initialized; however, this function should not receive any arguments, and it should also not appear in the autocomplete when doing a task call.