(axum::extract::State(io): axum::extract::State<SocketIo>)
| 54 | } |
| 55 | |
| 56 | async fn handler(axum::extract::State(io): axum::extract::State<SocketIo>) { |
| 57 | info!("handler called"); |
| 58 | let _ = io.emit("hello", "world"); |
| 59 | } |
| 60 | |
| 61 | #[tokio::main] |
| 62 | async fn main() -> Result<(), Box<dyn std::error::Error>> { |
nothing calls this directly
no outgoing calls
no test coverage detected