Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tarabyte/loopback-async-boot
Higher order function to use async functions as loopback boot scripts.
https://github.com/tarabyte/loopback-async-boot
async helper loopback
Last synced: about 2 months ago
JSON representation
Higher order function to use async functions as loopback boot scripts.
- Host: GitHub
- URL: https://github.com/tarabyte/loopback-async-boot
- Owner: Tarabyte
- License: mit
- Created: 2018-10-29T07:41:04.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-29T14:22:21.000Z (about 6 years ago)
- Last Synced: 2024-10-14T13:37:04.616Z (3 months ago)
- Topics: async, helper, loopback
- Language: JavaScript
- Size: 69.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# loopback-async-boot
Higher order function to use async functions as loopback boot scripts.
## Usage
```
// boot/script.js
const handler = require('loopback-async-boot');module.exports = handler(async(app) => {
await ...
});
```