Reference
Service Lifecycle
Makers, runtime construction, endpoint admission, graph draining, graceful shutdown, and target-specific hooks.
Lifecycle concepts
Lifecycle overviewThe complete path from generated configuration to safe graph shutdown.
Created -> Running -> StoppedMakersThe generated dependency-injection boundary for functions, endpoints, clients, servers, serializers, and infrastructure.context + environment + config -> instanceDataSources, endpoints, and resource ownershipHow generated connector objects, endpoints, endpoint consumers, functions, and streams divide lifecycle responsibility.connector -> endpoint -> consumer -> streamLanguage runtimes
Go lifecycleGo maker initialization, graph construction, source-last startup, and context-bounded drain.
StartService / StopServiceC++ userver lifecycleuserver task-based makers, ordered activation, and ownership-safe timeout handling.ServiceGenerated::start / stopC++ Boost lifecycleBoost.Asio coroutine makers, generated HTTP activation, graph drain, and runtime release.ServiceGenerated::start / stopRuntimePython lifecycleasyncio maker groups, explicit construction phases, source-last start, and deadline-aware shutdown.start_service / stop_serviceRust lifecycleTyped maker tables, concurrent futures, immutable assembly, Tokio servers, and bounded drain.GeneratedService::new / runTypeScript lifecyclePromise makers, runtime component categories, startup rollback, task admission, and bounded stop.ServiceGenerated.run / ServiceRuntime