An interface that represents a middleware object to be used to register messaging actions that are executed on app shutdown, e.g. PostgreSQL pool shutdown. An example of Mosaic implementation:
import { setupShutdownActions, Logger } from '@axinom/mosaic-service-common';//...const shutdownActions = setupShutdownActions(app, logger); Copy
import { setupShutdownActions, Logger } from '@axinom/mosaic-service-common';//...const shutdownActions = setupShutdownActions(app, logger);
Generated using TypeDoc
An interface that represents a middleware object to be used to register messaging actions that are executed on app shutdown, e.g. PostgreSQL pool shutdown. An example of Mosaic implementation: