Optionalconfig: AppConfigEmits event; for events in AppEvents the payload must match their type.
Optionalpayload: unknownStarts drivers one at a time, in registration order, so a driver can rely on the ones registered before it (e.g. the DB before the web server). If one fails, every driver is stopped in reverse order (all were initialized and may hold connections, including the failing one), OpenTelemetry is shut down and the error is rethrown, instead of leaving ports bound and children running.
Stops drivers in reverse start order (the web server before the DB it uses), continuing past failures, and always flushes OpenTelemetry.
A call made while a stop is in progress (e.g. an app's own signal handler next to the App's) gets that same stop: it resolves only once every driver has stopped, instead of right away with nothing left to do.
Emits
event; for events in AppEvents the payload must match their type.