server can now send error messages to clients

This commit is contained in:
Mark
2023-10-24 22:50:21 +02:00
parent 94df757f0c
commit 1eee22bb4b
10 changed files with 370 additions and 93 deletions

View File

@@ -438,7 +438,9 @@ async fn sse_handler(
.collect::<String>(),
)
}
Command::Save | Command::InitComplete => return Poll::Pending,
Command::Save | Command::InitComplete | Command::ErrorInfo(..) => {
return Poll::Pending
}
}))
} else {
return Poll::Pending;