@wmfs/tymly
Version:
A framework for building and sharing workflows in Node.js
19 lines (15 loc) • 338 B
JavaScript
class TestService3 {
boot (options) {
this.bootOrder = ['testService3']
this.shutdownOrder = []
}
async shutdown () {
this.shutdownOrder.push('testService3')
}
}
module.exports = {
serviceClass: TestService3,
bootBefore: ['testService1', 'statebox'],
bootAfter: ['inventory']
}