Commit 403df7c8 authored by Gabriel Schulhof's avatar Gabriel Schulhof
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.

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 030ef35b
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