chore: cov settings, and fix serveral building warnings (#281)
* chore: cov settings, update Python test dependencies and adjust command arguments * fix: remove .vscode dir
This commit is contained in:
parent
8e1490bcd8
commit
55215b6170
1 changed files with 40 additions and 10 deletions
|
|
@ -134,7 +134,8 @@ impl<R: SseStreamReconnect> SseAutoReconnectStream<R> {
|
|||
}
|
||||
|
||||
impl<E: std::error::Error + Send> SseAutoReconnectStream<NeverReconnect<E>> {
|
||||
pub fn never_reconnect(stream: BoxedSseResponse, error_when_reconnect: E) -> Self {
|
||||
#[allow(dead_code)]
|
||||
pub(crate) fn never_reconnect(stream: BoxedSseResponse, error_when_reconnect: E) -> Self {
|
||||
Self {
|
||||
retry_policy: Arc::new(NeverRetry),
|
||||
last_event_id: None,
|
||||
|
|
|
|||
Loading…
Reference in a new issue