Improves documentation for HostImportModuleDynamicallyCallback (#1658)

Improves documentation for ostImportModuleDynamicallyCallback
This commit is contained in:
Blanky 2024-11-04 14:51:51 -05:00 committed by GitHub
parent a81cafd4cd
commit e67f11bf79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -189,7 +189,10 @@ pub type HostInitializeImportMetaObjectCallback =
/// HostImportModuleDynamicallyCallback is called when we require the embedder
/// to load a module. This is used as part of the dynamic import syntax.
///
/// The referrer contains metadata about the script/module that calls import.
/// The host_defined_options are metadata provided by the host environment, which may be used
/// to customize or further specify how the module should be imported.
/// The resource_name is the identifier or path for the module or script making the import request.
///
/// The specifier is the name of the module that should be imported.
///