loopback-boot/test/fixtures/simple-app/boot/bar.js

14 lines
414 B
JavaScript
Raw Normal View History

2016-05-06 04:52:36 +00:00
// Copyright IBM Corp. 2014. All Rights Reserved.
// Node module: loopback-boot
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
2014-10-09 19:18:36 +00:00
process.bootFlags.push('barLoaded');
module.exports = function(app, callback) {
process.bootFlags.push('barStarted');
process.nextTick(function() {
process.bootFlags.push('barFinished');
callback();
});
};