pub fn shutdown_audit_component<T, RecordFn, RecordFut, FlushFn, FlushFut>(
resources: T,
record_server_shutdown: RecordFn,
flush_audit_manager: FlushFn,
) -> RuntimeComponentBundleRegistration<impl RuntimeComponentBundle>Expand description
Creates the audit shutdown component bundle without the server-start phase.
Use this only when a product intentionally records server startup elsewhere.
Normal Aster services should use audit_component so startup, shutdown,
and manager flush share one lifecycle component. With the
mail-outbox-dependency feature enabled, the shutdown audit phase
automatically runs after the mail outbox drain component.