(appFn: ApplicationFunction)
| 155 | } |
| 156 | |
| 157 | public async load(appFn: ApplicationFunction) { |
| 158 | await this.#initialize(); |
| 159 | |
| 160 | await appFn(this.#state.probot!, { |
| 161 | cwd: this.#state.cwd, |
| 162 | addHandler: (handler: Handler) => { |
| 163 | this.addHandler(handler as unknown as Handler); |
| 164 | }, |
| 165 | }); |
| 166 | } |
| 167 | |
| 168 | public async start(): Promise<HttpServer> { |
| 169 | await this.#initialize(); |
nothing calls this directly
no test coverage detected