You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lib/src/service/Discovery.ts

11 lines
275 B

import {Unit} from '../lifecycle/Unit'
import {Singleton} from '../di'
import {NodeModules} from '../support/NodeModules'
@Singleton()
export class Discovery extends Unit {
async up(): Promise<void> {
await this.make<NodeModules>(NodeModules).discover()
}
}