Type alias BeforeQuitHandler

BeforeQuitHandler: ((ctx) => Promise<void> | void)

Type declaration

    • (ctx): Promise<void> | void
    • Type for handler in onTransaction

      Do your cleanups herein, i.e. close db connections etc.

      Parameters

      Returns Promise<void> | void

Generated using TypeDoc