Skip to content

Commit

Permalink
Implement ThreadSafeFunction class
Browse files Browse the repository at this point in the history
This PR is implementing ThreadSafeFunction class wraps
napi_threadsafe_function features.

FYI, the test files that included in this PR have come from Node.js
repo[1]. They've been rewritten based on C++ and node-addon-api.

Fixes #312.

[1] https://github.com/nodejs/node/tree/master/test/node-api/test_threadsafe_function
  • Loading branch information
romandev committed Jul 2, 2019
1 parent ab7d8fc commit 19c115d
Show file tree
Hide file tree
Showing 7 changed files with 949 additions and 0 deletions.
Loading

0 comments on commit 19c115d

Please sign in to comment.