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

Enable Geode State Subscription #61

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

oana-barbu
Copy link

This patch enables the automata node to accept subscriptions for the state of a geode via the "geode_subscribeState" RPC method.

The subscription mechanism is implemented by getting storage updates: the subscribe method creates a stream over which it receives notifications when the storage value of the geode is updated; the storage value is converted to a GeodeState that is sent to the Subscriber.

@oana-barbu oana-barbu force-pushed the feature/state_subscription branch from 637ce86 to 875368b Compare September 23, 2021 18:50
@oana-barbu oana-barbu force-pushed the feature/state_subscription branch from 875368b to 62474c7 Compare September 23, 2021 19:37
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