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

refactor: Simplify the internal implementation of KurtResult. #6

Merged
merged 1 commit into from
May 6, 2024

Conversation

jemc
Copy link
Collaborator

@jemc jemc commented May 6, 2024

The implementation of KurtResult was handling two different kinds of listeners: full stream listeners and final event listeners.

This commit removes a bunch of internal fields related to tracking state for final event listeners, unifying it with the mechanism for full stream listeners, using a simple function to convert a full stream listener to a final event listener.

The implementation of KurtResult was handling two different kinds
of listeners: full stream listeners and final event listeners.

This commit removes a bunch of internal fields related to tracking
state for final event listeners, unifying it with the mechanism
for full stream listeners, using a simple function to convert
a full stream listener to a final event listener.
@jemc jemc requested a review from InfraK May 6, 2024 15:45
@jemc jemc self-assigned this May 6, 2024
@jemc jemc merged commit c82c7e2 into main May 6, 2024
1 check passed
@jemc jemc deleted the refactor/simplify-kurt-result branch May 6, 2024 16:16
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