Skip to content

Commit

Permalink
n-api: clean up thread-safe function
Browse files Browse the repository at this point in the history
* 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: nodejs#22259
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Kyle Farnung <kfarnung@microsoft.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
  • Loading branch information
Gabriel Schulhof committed Aug 31, 2018
1 parent 030ef35 commit 403df7c
Showing 1 changed file with 439 additions and 434 deletions.
Loading

0 comments on commit 403df7c

Please sign in to comment.