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: weather poller worker added #372

Merged
merged 1 commit into from
May 13, 2022
Merged

Conversation

linalim
Copy link
Contributor

@linalim linalim commented Apr 8, 2022

  • Uses Agent to update args of field weather_published. When channel subscribed, the longitude-latitude pair is added to the list of states. When channel unsubscribed, it is removed.
  • Implements Absinthe Socket Decorator and Absinthe Channel Decorator, which references code from: this link
  • Currently, handle_in("unsubscribe") handles unsubscribing from all channels. Handling unsubscribing from each channel has not been implemented.
  • To test out weather poller worker:
    • subscribe to weatherPublished using {longitude, latitude} pair in Graphiql
    • unsubscribe by exiting out of Graphiql

@linalim linalim force-pushed the ll/weather-subscription-worker branch 3 times, most recently from 73606c3 to a4f1ed5 Compare April 8, 2022 18:40
@linalim linalim changed the title [WIP] feat: weather poller worker added feat: weather poller worker added Apr 11, 2022
@linalim linalim force-pushed the ll/weather-subscription-worker branch from a4f1ed5 to 89f81b3 Compare May 10, 2022 18:48
Copy link
Collaborator

@cbarber cbarber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@cbarber cbarber merged commit ee0b2b6 into master May 13, 2022
@cbarber cbarber deleted the ll/weather-subscription-worker branch May 13, 2022 22:19
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