Type alias start<StartContext>

start<in StartContext>: ((context: StartContext) => Promise<void>)

Type Parameters

  • in StartContext extends Record<string | symbol, any>

Type declaration

    • (context: StartContext): Promise<void>
    • start() function is an optional function that if present, will be invoked when the application starts.

      This is a good time to start or complete any work needed before the application is being used.

      Parameters

      • context: StartContext

        THIS WILL BE DEPRECATED. Use closure to pass value to your start() instead.

      Returns Promise<void>

Generated using TypeDoc