docs(telemetry): fix fictional launcher.Register/health.Register in doc examples #2

Merged
Rene Nochebuena merged 1 commits from fix/wiring-docs into main 2026-08-07 22:18:06 -06:00
+2 -2
View File
@@ -31,8 +31,8 @@
// } // }
// defer shutdown(ctx) // defer shutdown(ctx)
// //
// // Wire into the launcher so shutdown runs before process exit: // // Place the defer before lc.Run() so shutdown fires after the launcher
// // launcher.BeforeStop(func() error { return shutdown(ctx) }) // // stops, before the process exits.
// } // }
// //
// # Local Development: console mode // # Local Development: console mode