Skip to main content

Interface: ILoadModuleResult

Defined in: src/types/runtime.ts:209

Result of a module-federation load — provides cleanup and a promise that resolves when the module's iframe is fully loaded.

Properties

cleanup

cleanup: VoidFunction

Defined in: src/types/runtime.ts:213

Remove the module's iframe and clean up


frameId?

optional frameId?: string

Defined in: src/types/runtime.ts:211

The iframe element ID, if one was created


loadPromise

loadPromise: Promise<void>

Defined in: src/types/runtime.ts:215

Resolves when the module has finished loading inside its iframe