@wmfs/tymly
Version:
A framework for building and sharing workflows in Node.js
18 lines (14 loc) • 356 B
JavaScript
class TestService2 {
boot (options) {
this.testService3 = options.bootedServices.testService3
this.testService3.bootOrder.push('testService2')
}
async shutdown () {
this.testService3.shutdownOrder.push('testService2')
}
}
module.exports = {
serviceClass: TestService2,
bootAfter: ['testService1']
}