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

Obtaining the size of a payload should return a result #9

Closed
autodidaddict opened this issue May 17, 2023 · 1 comment · Fixed by #30
Closed

Obtaining the size of a payload should return a result #9

autodidaddict opened this issue May 17, 2023 · 1 comment · Fixed by #30

Comments

@autodidaddict
Copy link
Contributor

The current interface calls for size(payload) to return a number. There may be occasions, depending on the state of health and the provider of the interface, where size is either temporarily unavailable or can't be determined at all. In the current interface, consuming a payload returns an error. For the same reason, I think attempting to obtain the size of the payload should also potentially return an error.

@Mossaka
Copy link
Collaborator

Mossaka commented Dec 19, 2023

Sounds good! Addressed in PR #30

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 a pull request may close this issue.

2 participants