pub async fn run_with_duplex_server<S, C, E>(app: WireframeApp<S, C, E>)Expand description
Run app against an empty duplex stream.
This helper drives the connection lifecycle without sending any frames, ensuring setup and teardown callbacks execute.
ยงPanics
Panics if handle_connection fails.
let app = WireframeApp::new()
.expect("failed to initialize app");
run_with_duplex_server(app).await;
}