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

Feature/dsc 93 event stream #1

Merged
merged 2 commits into from
Jun 6, 2023
Merged

Commits on May 31, 2023

  1. Configuration menu
    Copy the full SHA
    a90688f View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2023

  1. stream: add simple stream implementation

    This initial Stream implementation adds a very simple wrapper around
    an Ably channel. Messages received on the channel are surfaced to the
    caller via a subscription callback.
    
    The Stream is an EventEmitter and exposes its state via events.
    Additionally the stream can be pauses, resumed and disposed. This
    will allow the Models SDK to manipulate the stream/channel according to
    the model's lifecycle.
    
    While not yet particularly useful, the idea is that the Stream will
    handle:
    - message de-duplication
    - message re-ordering
    - detect discontinuities (due to connection state recovery as well as
      due to failed connector publishes)
    mschristensen committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    4b97a65 View commit details
    Browse the repository at this point in the history