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