Skip to main content

Internal

The internal is available on TServiceParams and provides some basic internal utilities and information by the core library.

🌱 Root

PropertyDescription
safeExecGeneric function to wrap a callback with try/catch, and optionally keep metrics on it

🚀 Boot

Property: internal.boot

Get details about the application that was booted

PropertyDescription
optionsReference to the options passed into .bootstrap
applicationReference to the application that was bootstrapped
stageEnum representing the current state of the application
lifecycleEventsA set of all the lifecycle events that have completed

📦 Boilerplate

Property: internal.boilerplate

Interact with the services that otherwise don't directly provide their interfaces

PropertyDescription
configurationInteract with the configuration system, get metadata / update values
loggerMake tweaks to the way the logger works