• /**

    • ExpressBootstrap Decorator Factory
    • Add the decorated class method to the express bootstrap sequence that happens at the start
    • of the application. Propel will run all express bootstrapped methods in sequence, awaiting
    • any that are async.

    Example

    * class MyClass {
    * @ExpressBootstrap()
    * async init(app: IRouter) {
    * // Do express bootstrap work
    * }
    * }
    *

    Returns

    • a method decorator

    Parameters

    • Optional options: AccessorOptions

      optional set of arguments for bootstrapping *

    Returns MethodDecorator

Generated using TypeDoc