Module
Holds methods to handle loading of modules.
#
Usage#
useapp.module.use(...module: ModuleArg []): this
#
add a module to app
load modules simultaneously
#
loadapp.module.load(...module: ModuleArg []): Promise<Module[]>
#
load module instantly without waiting for app launch. return promise with the module loaded.
#
loadFnapp.module.loadFn(...fn: ModuleFunction[]): Promise<void>
#
instantly load module function
#
moduleAtapp.module.moduleAt<T extends Module>(index: number): T
#
return module by index
#
modulesByTypeapp.module.modulesByType<T extends Module>(type: IModuleCrt): T[]
#
getter return current app children apps