Application
runtime / Application
Class: Application<Context, Router, ModelManager>
Type parameters
| Name | Type |
|---|---|
Context | extends IContext |
Router | extends IRouter = IRouter |
ModelManager | extends IModelManager = IModelManager |
Implements
Table of contents
Constructors
Properties
- AppComponent
- _UserAppComponent
- _context
- _createApplicationContext
- _getAppComponent
- _init
- _modelManager
- _render
- _renderFn
- pluginManager
- router
Methods
Constructors
constructor
• new Application<Context, Router, ModelManager>(options)
Type parameters
| Name | Type |
|---|---|
Context | extends IContext |
Router | extends IRouter<any, Router> = IRouter<any> |
ModelManager | extends IModelManager = IModelManager |
Parameters
| Name | Type |
|---|---|
options | IApplicationOptions<Context, Router, ModelManager> |
Properties
AppComponent
• AppComponent: any
Implementation of
_UserAppComponent
• Private Optional _UserAppComponent: any
_context
• Private _context: any
_createApplicationContext
• Private _createApplicationContext: any
_getAppComponent
• Private _getAppComponent: any
_init
• Private _init: any
_modelManager
• Private _modelManager: any
_render
• Private _render: any
_renderFn
• Private _renderFn: any
pluginManager
• pluginManager: HookManager<{ dispose: AsyncParallelHook<void, void, void> ; getAppComponent: AsyncSeriesWaterfallHook<unknown, IContext> ; getAppContext: AsyncSeriesWaterfallHook<IContext, void> ; getRootAppComponent: AsyncSeriesWaterfallHook<unknown, IContext> ; init: AsyncParallelHook<void, void, void> }, void, CustomRuntimePluginHooks>
Implementation of
router
• router: Router
Implementation of
Methods
dispose
▸ dispose(): Promise<void>
Returns
Promise<void>
Implementation of
getContext
▸ getContext(): Context
Returns
Context
rerender
▸ rerender(__namedParameters?): Promise<void>
Parameters
| Name | Type |
|---|---|
__namedParameters? | IRerenderConfig |
Returns
Promise<void>
Implementation of
run
▸ run(): Promise<Context>
Returns
Promise<Context>