Global

Methods

shutdown(container, next)

The shutdown function of the pdmsHemera adapter

This function should be registered with the shutdown phase, then npac will call when graceful shutdown happens.

Parameters:
Name Type Description
container Object

The actual state of the container this adapter is running

next function

Error-first callback function to pass the result partial container extended with the pdmsHemera adapter.

see also: the npac.startup process description.

startup(container, next)

The startup function of the pdmsHemera adapter

This function should be registered with the startup phase, then npac will call when the project is starting.

Parameters:
Name Type Description
container Object

The actual state of the container this adapter will be added

next function

Error-first callback function to pass the result partial container extended with the pdmsHemera adapter.

see also: the npac.startup process description.