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 ...
});
Higher order function to use async functions as loopback boot scripts.
// boot/script.js
const handler = require('loopback-async-boot');
module.exports = handler(async(app) => {
await ...
});
npm i loopback-async-boot
5
0.0.2
MIT
2.5 kB
5