Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 237 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 237 Bytes

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 ...
});