* Define preload actions to run during application initialization. * These actions are executed after the application is booted. * * @param action - Function to execute during preload phase * * @example * ```ts * factory.preload((app) => { * // Register custom bindings *
(action: (app: ApplicationService) => void | Promise<void>)
| 68 | * ``` |
| 69 | */ |
| 70 | preload(action: (app: ApplicationService) => void | Promise<void>): this { |
| 71 | this.#preloadActions.push(action) |
| 72 | return this |
| 73 | } |
| 74 | |
| 75 | /** |
| 76 | * Merge core providers with user defined providers |
no outgoing calls
no test coverage detected