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 Response Syncrnization across threads and Replay/Observer updates #70

Merged

Conversation

ShadowLordAlpha
Copy link
Contributor

This updates the Query calls to allow multiple requests of the same type by syncronizing them across multiple threads instead of just erroring out.

I then got distracted by Replay and Observer things and adjusted the library so that it is actually able to do everything or nearly everything that the C++ AutoObserver library is able to do.

Remove the sendRequest validation that only allows one of each type to be in the queue. May make this a toggle as the protections are probably wanted for new users
As it appears to only matter for each response type, allow only one to be running at a time and then allow the next one
Having no abilities is actually a valid state for some units
Add a method to set the perspective as well as a method to set what units by unit or tag that we are following
@ShadowLordAlpha
Copy link
Contributor Author

And... I also just relized I forgot to squash all my commits down...

@ocraft ocraft merged commit ee33cf1 into ocraft:master Jul 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.

2 participants