Skip to content

NodejsRuntime.CreateThreadSafeFunction method

C#
public override napi_status CreateThreadSafeFunction(napi_env env, napi_value func, 
    napi_value asyncResource, napi_value asyncResourceName, int maxQueueSize, 
    int initialThreadCount, IntPtr threadFinalizeData, napi_finalize threadFinalizeCallback, 
    IntPtr context, napi_threadsafe_function_call_js callJSCallback, 
    out napi_threadsafe_function result)

See Also

Released under the MIT license