Calling n-api methods from own separate thread #17819
Labels
question
Issues that look for answers.
wrong repo
Issues that should be opened in another repository.
I'm trying to create a module that has an application compiled within.
The application itself needs own thread to allow node keep running simultaneously.
When the application calls n-api functions from its own thread, node will crash.
Probably a related issue is that the documentation states the environment variable must not be cached for later use. Then how could I create/get an environment for calls, which do not originate from node?
The text was updated successfully, but these errors were encountered: