OnStop: ((reason: string, message: Message) => unknown | Promise<unknown>)

Type declaration

    • (reason: string, message: Message): unknown | Promise<unknown>
    • Type that describes action that injects on stop.

      Parameters

      • reason: string
      • message: Message

      Returns unknown | Promise<unknown>

Generated using TypeDoc