Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a "has_data" method to Reader objects #78

Merged
merged 1 commit into from
Nov 14, 2018

Conversation

andymccurdy
Copy link
Contributor

It's useful to know if there is some amount of unread data in the Reader.
"has_data" returns True if there is any unread data in the Reader,
otherwise False.

It's useful to know if there is some amount of unread data in the Reader.
"has_data" returns True if there is any unread data in the Reader,
otherwise False.
@ifduyue ifduyue merged commit ee7925a into redis:master Nov 14, 2018
@ifduyue
Copy link
Collaborator

ifduyue commented Nov 14, 2018

Thanks

@andymccurdy andymccurdy deleted the has_data branch November 14, 2018 16:30
@andymccurdy
Copy link
Contributor Author

@ifduyue great, thanks. have you taken a look at #77 as well?

@ifduyue
Copy link
Collaborator

ifduyue commented Nov 15, 2018

@andymccurdy Yes, I've replied there just now.

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.

None yet

2 participants