Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

n-api: add API for asynchronous functions #17809

Closed

Commits on Dec 27, 2017

  1. n-api: add API for asynchronous functions

    Bundle a uv_async_t and a napi_ref to make it possible to call into JS
    from another thread. The API accepts a void data and context pointer,
    an optional native-to-JS function argument marshaller, and a
    JS-to-native return value marshaller.
    
    Fixes: nodejs#13512
    Gabriel Schulhof committed Dec 27, 2017
    Configuration menu
    Copy the full SHA
    65e8f05 View commit details
    Browse the repository at this point in the history