Module script::script_module
source ยท Expand description
The script module mod contains common traits and structs
related to type=module
for script thread or worker threads.
Structsยง
- DynamicModule ๐
- DynamicModuleList ๐
- ModuleContext ๐The context required for asynchronously loading an external module script source.
- ModuleHandler ๐
- ModuleScript ๐
- ModuleSource ๐
Enumsยง
- Identity for a module which will be used to retrieve the module when weโd like to get it from module map.
- ModuleOwner ๐The owner of the module It can be
worker
orscript
element
Functionsยง
- A function to register module hooks (e.g. listening on resolving modules, getting module metadata, getting script private reference and resolving dynamic import)
- HostPopulateImportMeta ๐ โ
- HostResolveImportedModule ๐ โ
- gen_type_error ๐ โ
- host_add_ref_top_level_script ๐ โ
- host_release_top_level_script ๐ โ