JSRuntime.CreateAsyncWork method
C#
public virtual napi_status CreateAsyncWork(napi_env env, napi_value asyncResource,
napi_value asyncResourceName, napi_async_execute_callback execute,
napi_async_complete_callback complete, IntPtr data, out napi_async_work result)
See Also
- enum napi_status
- struct napi_env
- struct napi_value
- struct napi_async_execute_callback
- struct napi_async_complete_callback
- struct napi_async_work
- class JSRuntime
- namespace Microsoft.JavaScript.NodeApi.Runtime