UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

32 lines (20 loc) 958 B
--- lang: en title: 'API docs: core.application.init' keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI sidebar: lb4_sidebar editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/core permalink: /doc/en/lb4/apidocs.core.application.init.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/core](./core.md) &gt; [Application](./core.application.md) &gt; [init](./core.application.init.md) ## Application.init() method Initialize the application, and all of its registered observers. The application state is checked to ensure the integrity of `initialize`<!-- -->. If the application is already initialized, no operation is performed. This method is automatically invoked by `start()` if the application is not initialized. <b>Signature:</b> ```typescript init(): Promise<void>; ``` <b>Returns:</b> Promise&lt;void&gt;