(forceInit?: boolean)
| 65 | } |
| 66 | |
| 67 | async init(forceInit?: boolean) { |
| 68 | if (this._inited && !forceInit) return; |
| 69 | this.logger.log('method init called'); |
| 70 | await this.config.init?.call(undefined); |
| 71 | this._inited = true; |
| 72 | } |
| 73 | |
| 74 | async destroy() { |
| 75 | if (!this._inited) return; |