MCPcopy Create free account
hub / github.com/ParallelTask/dinoloop / useRouter

Method useRouter

src/api/dino.ts:72–74  ·  view source on GitHub ↗

* Register express Router handler

(cb: () => any)

Source from the content-addressed store, hash-verified

70 * Register express Router handler
71 */
72 useRouter(cb: () => any): void {
73 this.appContainer.useRouter = cb;
74 }
75
76 // Why this property required?
77 // express fires the middlewares based on the mounted path, even though

Callers 1

initializeTestsFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected