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

[SDK-3630] feat: add ChannelStateChange.hasBacklog and return state change to attach promise/callback #1347

Merged
merged 2 commits into from
Jun 29, 2023

Commits on Jun 29, 2023

  1. feat: RealtimeChannel.attach returns ChannelStateChange

    Makes it so that `RealtimeChannel.attach` exposes the
    `ChannelStateChange` via whatever async api (invoke callback or fulfill promise).
    This makes it easy for users to access flags on the `ChannelStateChange`
    to access information about the attachment.
    owenpearson committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    8a50060 View commit details
    Browse the repository at this point in the history
  2. feat: add ChannelStateChange.hasBacklog

    Exposes the `hasBacklog` flag on `ChannelStateChange`. This may be used
    in combination with rewind to check whether to expect a backlog of
    messages upon attachment.
    owenpearson committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    b75e0e4 View commit details
    Browse the repository at this point in the history