Commit f04359cf authored by Ryan Olson's avatar Ryan Olson Committed by GitHub
Browse files

feat: global kv block manager (#45)

parent 530a6be0
......@@ -38,7 +38,14 @@ impl<S: Stream + Unpin> Stream for DeadlineStream<S> {
}
// Otherwise, poll the underlying stream
self.as_mut().stream.poll_next_unpin(cx)
let val = self.as_mut().stream.poll_next_unpin(cx);
// Log the poll result and return it
match &val {
Poll::Ready(Some(_)) => tracing::trace!("DeadlineStream: received item"),
Poll::Ready(None) => tracing::trace!("DeadlineStream: underlying stream ended"),
Poll::Pending => tracing::trace!("DeadlineStream: waiting for next item"),
}
val
}
}
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment