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

Implement "WaitForChange" for pending moves #81

Merged
merged 2 commits into from
Aug 8, 2019

Conversation

domob1812
Copy link
Collaborator

This adds new methods Game::WaitForPendingChange and the RPC waitforpendingchange based on it. With them, clients can do long-polling for receiving updates on changes to the state of pending moves.

This is the third step towards finalising #43.

This adds another "waitforchange" blocking call, waiting for changes
in the pending state.  It is exposed via Game::WaitForPendingChange
and the waitforpendingchange RPC method in the default RPC server.
Add tests for waitforpendingchange to the waitforchange.py Mover
integration test.
@domob1812 domob1812 added this to the 0.1 milestone Aug 8, 2019
@domob1812 domob1812 merged commit 45042ac into master Aug 8, 2019
domob1812 added a commit that referenced this pull request Aug 8, 2019
Implement "WaitForChange" for pending moves
@domob1812 domob1812 deleted the pending-waitforchange branch August 8, 2019 07:43
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.

1 participant