Expand description
The script module mod contains common traits and structs
related to type=module
for script thread or worker threads.
Structsยง
- Dynamic
Module ๐ - Dynamic
Module ๐List - Module
Context ๐The context required for asynchronously loading an external module script source. - Module
Handler ๐ - Module
Object ๐ - Module
Script ๐ - Module
Source ๐ - Module
Tree ๐ - Rethrow
Error ๐ - Script
Fetch ๐Options
Enumsยง
- Module
Identity ๐Identity for a module which will be used to retrieve the module when weโd like to get it from module map. - Module
Owner ๐The owner of the module It can beworker
orscript
element - Module
Status ๐
Functionsยง
- Ensure
Module ๐ โHooks Initialized A function to register module hooks (e.g. listening on resolving modules, getting module metadata, getting script private reference and resolving dynamic import) - Host
Populate ๐ โImport Meta - Host
Resolve ๐ โImported Module - gen_
type_ ๐error - host_
add_ ๐ โref_ top_ level_ script - host_
import_ ๐ โmodule_ dynamically - host_
release_ ๐ โtop_ level_ script