[v14.x backport] node-api: faster threadsafe_function
Can't show this merge request because the source branch github/fork/indutny/backport/gh-38506 is missing from project rodrigo-test/test-group-nodejs/node. Close this merge request or update the source branch.