F
getLoadedModule
Gives the module a lazy handle stands for once it has loaded, so a caller can keep the real object instead of reading through the proxy. It never loads a module.
function getLoadedModule<T>(handle: T): T | undefinedParameters
| Name | Type | Description |
|---|---|---|
| handle | T | A lazy handle, or any other value. |
Returns
T | undefinedThe loaded module, undefined while the handle's module has not loaded, or handle itself when it is not a lazy handle.