Use Task::discard in websocket example

This commit is contained in:
Héctor Ramón Jiménez 2025-09-23 02:27:42 +02:00
parent 629e795784
commit 714c4982d6
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 5 additions and 10 deletions

View file

@ -30,7 +30,6 @@ pub fn connect() -> impl Sipper<Never, Event> {
tokio::time::sleep(tokio::time::Duration::from_secs(1))
.await;
output.send(Event::Disconnected).await;
continue;
}
};