mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-11-21 12:18:58 +00:00
Improves documentation for HostImportModuleDynamicallyCallback (#1658)
Improves documentation for ostImportModuleDynamicallyCallback
This commit is contained in:
parent
a81cafd4cd
commit
e67f11bf79
@ -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.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user