Skip to content

Remove public next method in favor of overloading __next__ method #22

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

mberz
Copy link
Member

@mberz mberz commented May 9, 2025

Changes proposed in this pull request:

  • Remove the public next() method
  • Overload the __next__() method in each child class

This simplifies interfacing with the class.
Child classes always need to call the __next__() method to ensure that the buffer is started and blocked from external changes.

@mberz mberz added the enhancement New feature or request label May 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant