C++ utility class to perform callbacks into JavaScript from any thread
github.com/mika-fischer/napi-thread-safe-callback
mika-fischer/napi-thread-safe-callback