MCPcopy
hub / github.com/adonisjs/core / tap

Method tap

src/ignitor/main.ts:108–111  ·  view source on GitHub ↗

* Tap to access the application class instance. * * @param callback - Callback function to execute when app is created

(callback: (app: ApplicationService) => void)

Source from the content-addressed store, hash-verified

106 * @param callback - Callback function to execute when app is created
107 */
108 tap(callback: (app: ApplicationService) => void): this {
109 this.#tapCallbacks.add(callback)
110 return this
111 }
112
113 /**
114 * Get instance of the HTTPServerProcess

Callers 7

createMethod · 0.80
codemods.spec.tsFile · 0.80
add.spec.tsFile · 0.80
build.spec.tsFile · 0.80
main.spec.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected