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

feat(torii-client): add entity change listener #1072

Merged
merged 7 commits into from
Oct 20, 2023
Merged

feat(torii-client): add entity change listener #1072

merged 7 commits into from
Oct 20, 2023

Conversation

kariy
Copy link
Member

@kariy kariy commented Oct 20, 2023

This would allow us to have in the JS binding, something like this

client.onEntityChange({ model: "Position", keys: [ .. ] }, () => {
  // do something here
})

@ponderingdemocritus
Copy link
Contributor

This is very useful

@kariy kariy merged commit 49fafb2 into main Oct 20, 2023
10 checks passed
@kariy kariy deleted the torii-client branch October 20, 2023 08:10
matzayonc pushed a commit to visoftsolutions/dojo that referenced this pull request Oct 21, 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.

2 participants