Skip to content

Did most of the preparations for streaming into OCI#1

Open
ztorage wants to merge 2 commits intomainfrom
ztorage/async-push
Open

Did most of the preparations for streaming into OCI#1
ztorage wants to merge 2 commits intomainfrom
ztorage/async-push

Conversation

@ztorage
Copy link
Copy Markdown
Collaborator

@ztorage ztorage commented Jun 5, 2023

No description provided.

Comment thread src/client.rs
_cx: &mut Context<'_>,
) -> Poll<std::result::Result<(), std::io::Error>> {
match self.pending {
Some(_) => Poll::Pending,
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this poll_unpin too while pending?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we're "flushing" inside the pending future, as long as there's something there, it's not flushed – that's my thinking

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants