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: Call listener when do_replay is True for use_table_listener_hook #313

Merged
merged 4 commits into from
Feb 23, 2024

Conversation

jnumainville
Copy link
Collaborator

@jnumainville jnumainville commented Feb 23, 2024

Fixes #290

Theoretically, there is some danger in this implementation, as if dependencies change the listener will be called again, but I think it makes more sense than just checking the first time, as the dependencies changing means a completely different call. Maybe we need more danger signs as has been alluded to. Maybe that's a docs issue.

@jnumainville jnumainville requested a review from mofojed February 23, 2024 18:30
Copy link
Member

@mofojed mofojed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that would be expected to fire again if the deps change. One reason to memoize your callbacks.

@jnumainville jnumainville merged commit 86d2572 into deephaven:main Feb 23, 2024
12 checks passed
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.

use_table_listener on a static table with do_replay=True
2 participants