@loopback/docs
Version:
Documentation for LoopBack 4
27 lines (17 loc) • 750 B
Markdown
lang: en
title: 'API docs: boot.lifecycleobserverbooter.load'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.boot.lifecycleobserverbooter.load.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/boot](./boot.md) > [LifeCycleObserverBooter](./boot.lifecycleobserverbooter.md) > [load](./boot.lifecycleobserverbooter.load.md)
## LifeCycleObserverBooter.load() method
Uses super method to get a list of Artifact classes. Boot each file by creating a DataSourceConstructor and binding it to the application class.
<b>Signature:</b>
```typescript
load(): Promise<void>;
```
<b>Returns:</b>
`Promise<void>`