[−][src]Type Definition rusty_v8::HostInitializeImportMetaObjectCallback
type HostInitializeImportMetaObjectCallback = extern "C" fn(_: Local<Context>, _: Local<Module>, _: Local<Object>);
HostInitializeImportMetaObjectCallback is called the first time import.meta is accessed for a module. Subsequent access will reuse the same value.
The method combines two implementation-defined abstract operations into one: HostGetImportMetaProperties and HostFinalizeImportMeta.
The embedder should use v8::Object::CreateDataProperty to add properties on the meta object.