()
| 104 | } |
| 105 | |
| 106 | public async bindEvents() { |
| 107 | const grpcContext = this.loadProto(); |
| 108 | const packageOption = this.getOptionsProp(this.options, 'package'); |
| 109 | const packageNames = Array.isArray(packageOption) |
| 110 | ? packageOption |
| 111 | : [packageOption]; |
| 112 | |
| 113 | for (const packageName of packageNames) { |
| 114 | const grpcPkg = this.lookupPackage(grpcContext, packageName); |
| 115 | await this.createServices(grpcPkg, packageName); |
| 116 | } |
| 117 | } |
| 118 | |
| 119 | /** |
| 120 | * Will return all of the services along with their fully namespaced |
no test coverage detected