A package be used in conjunction with the N-API module to call C++ code from JavaScript. Allows the user to call thread safe promise functions such (resolve, reject) in the C++ code and return a promise to the javascript code.
What is the SurienDG/NAPI-Thread-Safe-Promise GitHub project? Description: "A package be used in conjunction with the N-API module to call C++ code from JavaScript. Allows the user to call thread safe promise functions such (resolve, reject) in the C++ code and return a promise to the javascript code.". Written in C++. Explain what it does, its main use cases, key features, and who would benefit from using it.
Question is copied to clipboard — paste it after the AI opens.
Clone via HTTPS
Clone via SSH
Download ZIP
Download master.zipReport bugs or request features on the NAPI-Thread-Safe-Promise issue tracker:
Open GitHub Issues