Commit 902b0795 authored by Gabriel Schulhof's avatar Gabriel Schulhof Committed by Rod Vagg
Browse files

n-api: clean up thread-safe function

* Move class `TsFn` to name space `v8impl` and rename it to
  `ThreadSafeFunction`
* Remove `NAPI_EXTERN` from API declarations, because it's only needed
  in the header file.

Backport-PR-URL: https://github.com/nodejs/node/pull/25002
PR-URL: https://github.com/nodejs/node/pull/22259


Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarKyle Farnung <kfarnung@microsoft.com>
Reviewed-By: default avatarMichael Dawson <michael_dawson@ca.ibm.com>
parent 09b88aab
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment