BaseLifecycle()

BaseLifecycle is a base class that can be extended.

new BaseLifecycle()

Implements:

Methods

static afterStartAll(app, cb)

lifeCycle After Shutdown
Parameters:
Name Type Description
app Application
cb function

static afterStartup(app, cb)

lifeCycle After Startup
Parameters:
Name Type Description
app Application
cb function

static beforeShutdown(app, cb)

lifeCycle Before Shutdown
Parameters:
Name Type Description
app Application
cb function

static beforeStartup(app, cb)

lifeCycle Before Startup
Parameters:
Name Type Description
app Application
cb function