1. NAPI_EXTERN napi_status
    2. napi_get_threadsafe_function_context(napi_threadsafe_function func,
    3. void** result);
    • [in] func: The thread-safe function for which to retrieve the context.
    • [out] result: The location where to store the context.

    This API may be called from any thread which makes use of func.