JSRuntimeContext.ImportFunction property
Gets or sets the import() function, that supports asynchronously importing ES modules.
C#
public JSFunction ImportFunction { get; set; }
Remarks
Managed-host initialization will typically pass in the import function.
See Also
- struct JSFunction
- class JSRuntimeContext
- namespace Microsoft.JavaScript.NodeApi.Interop