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

Check already streamed instances in addition to new descendants. #30

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TheyCallMeRyan
Copy link

Similar to how :queryChanged returns a record of all records prior to the first call to queryChanged, it would be useful for the result of useStream to do an initial check for any entities that streamed prior to my initial call.

@LastTalon
Copy link
Member

I agree that this can be useful, but I need to take time to consider the exact place in the API and release schedule this should take, so it may be a little while before I get to approving it.

@TheyCallMeRyan
Copy link
Author

Might take a little longer - I ended up finding a bug in this related to workspace.SignalBehavior.Deferred - For some reason, in some cases, an instance will never be passed that has been replicated to the client. I have no thoughts on why this is, but am looking into it.

@TheyCallMeRyan
Copy link
Author

I'm not sure if you want to close this pull request, but the only thing I found was to use CollectionService which works as expected.

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