mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-11-22 15:07:00 -05:00
Improves documentation for HostImportModuleDynamicallyCallback (#1658)
Improves documentation for ostImportModuleDynamicallyCallback
This commit is contained in:
parent
a81cafd4cd
commit
e67f11bf79
1 changed files with 4 additions and 1 deletions
|
@ -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 a new issue