refactor(player): remove old comments from get_status

This commit is contained in:
2024-11-24 23:59:12 +01:00
parent de9e430828
commit 8443635fda

View File

@@ -143,8 +143,6 @@ impl Player for PlayerService {
let sleep_duration = Duration::from_millis(1000);
tokio::spawn(async move {
println!("get_status stream opened");
while !tx.is_closed() {
if let Err(_) = tx
.send(Ok(state.lock().await.player.get_snapshot().into()))
@@ -155,8 +153,6 @@ impl Player for PlayerService {
tokio::time::sleep(sleep_duration).await;
}
println!("get_status stream closed");
});
let output_stream = ReceiverStream::new(rx);