napi-thread-safe-callback-cancellable (npm): C++ utility class to perform callbacks into JavaScript from any thread
Keywords: napi|c++|callback|thread