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

Experimental support for subscription API ✨ #89

Merged
merged 2 commits into from
Sep 7, 2024

Commits on Sep 7, 2024

  1. Experimental support for subscription API

    Implemented an API using Flow to subscribe to real-time data sources.
    The API is designed to receive real-time data unidirectionally, similar to GraphQL Subscriptions. (Bidirectional support will be considered at a later time.)
    
    Use cases for this API include:
    
    - Receiving continuously provided sensor data from platform APIs, etc.
    - Monitoring changes in databases (such as Room or Firebase Realtime Database) and retrieving the updated data
    
    Since the Subscription API is not directly related to the existing SWR (Stale While Revalidate) approach, it has been implemented separately as an experimental feature.
    To use this API, you will need to use `SwrClientPlus` instead of the `SwrClient`.
    ogaclejapan committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    41f4f82 View commit details
    Browse the repository at this point in the history
  2. Apply automatic changes

    ogaclejapan authored and github-actions[bot] committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    838a401 View commit details
    Browse the repository at this point in the history