MCPcopy Create free account
hub / github.com/probot/probot / addHandler

Method addHandler

src/server/server.ts:140–142  ·  view source on GitHub ↗
(handler: Handler)

Source from the content-addressed store, hash-verified

138 }
139
140 public addHandler(handler: Handler) {
141 this.#state.addedHandlers.push(handler);
142 }
143
144 public async loadHandlerFactory(appFn: HandlerFactory) {
145 await this.#initialize();

Callers 2

loadHandlerFactoryMethod · 0.95
loadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected