类似app.afterStart,或者其它方式
// app.js module.exports = app => { app.messenger.once('egg-ready', () => { }); }
app.messenger.once('egg-ready', (app) => { console.log('app started');});
console打印了8次
8个 worker
Most helpful comment