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

Request: event-based DynamicElement #15

Open
juh9870 opened this issue Oct 4, 2022 · 0 comments
Open

Request: event-based DynamicElement #15

juh9870 opened this issue Oct 4, 2022 · 0 comments

Comments

@juh9870
Copy link
Contributor

juh9870 commented Oct 4, 2022

It would be good to have a dynamic element that isn't updated every tick to check for condition, but rather listen to some event, and only triggers the rebuild function if a new value was emitted by that event. The main use case is to have DynamicElement that is tied to changes in some other field, without wasting resourced updating it every tick. Performance impact is negligible with one, but what about a dozen?

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

No branches or pull requests

1 participant