description: "Shared state is one value built at startup that every handler reads, as a State<T> parameter or through a dependency-injection container."
Shared state is one value built at startup that every handler reads, as a [`State<T>`](api:ruststream::runtime::State) parameter or through a dependency-injection container.