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

Fix Signal#ap bug in getAndDiscreteUpdates #3206

Merged

Conversation

armanbilge
Copy link
Member

Fixes a bug where getAndDiscreteUpdates for a Signal created via Signal#ap was not emitting updates until both of its upstream signals emitted at least one change.

The new implementation delegates to getAndDiscreteUpdates of the upstream signals, which both simplifies it and will be more performant for Signals that override that method.

h/t @noelwelsh for reporting in creativescala/gooey@34173c6

@diesalbla diesalbla merged commit f389c32 into typelevel:main May 1, 2023
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