JSRuntime.CreateEnvironment method
C#
public virtual napi_status CreateEnvironment(napi_platform platform, Action<string>? errorHandler,
string? mainScript, int apiVersion, out napi_env result)
See Also
- enum napi_status
- struct napi_platform
- struct napi_env
- class JSRuntime
- namespace Microsoft.JavaScript.NodeApi.Runtime