Skip to content

JsModuleHostInfoKind

Richard edited this page Feb 23, 2018 · 1 revision

The types of host info that can be set on a module record with JsSetModuleHostInfo.

Syntax

enum JsModuleHostInfoKind

Members

  • JsModuleHostInfo_Exception: An exception object - e.g. if the module file cannot be found.
  • JsModuleHostInfo_HostDefined: Host defined info.
  • JsModuleHostInfo_NotifyModuleReadyCallback: Callback for receiving notification when module is ready.
  • JsModuleHostInfo_FetchImportedModuleCallback: Callback for receiving notification to fetch a dependent module.
  • JsModuleHostInfo_FetchImportedModuleFromScriptCallback: Callback for receiving notification for calls to import()
  • JsModuleHostInfo_Url: URL for use in error stack traces and debugging.

Remarks

For more information see JsSetModuleHostInfo.

Clone this wiki locally