TracingJSRuntime.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
- enum napi_status
- struct napi_env
- struct napi_value
- struct napi_finalize
- struct napi_threadsafe_function_call_js
- struct napi_threadsafe_function
- class TracingJSRuntime
- namespace Microsoft.JavaScript.NodeApi.Runtime