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

Fix bufferedAmount not updating #69

Merged
merged 2 commits into from
May 29, 2024
Merged

Fix bufferedAmount not updating #69

merged 2 commits into from
May 29, 2024

Conversation

mstoykov
Copy link
Collaborator

@mstoykov mstoykov commented May 23, 2024

What?

Fix bufferedAmount being observable from js.

Why?

This is actually how it was supposed to work all along, but the code just exported the value at the time of creating the WebSocket.

It now also includes a test.

Checklist

  • I have performed a self-review of my code.
  • I have added tests for my changes.
  • I have run linter locally (make lint) and all checks pass.
  • I have run tests locally (make test) and all tests pass.
  • I have commented on my code, particularly in hard-to-understand areas.

Related PR(s)/Issue(s)

Based on #68

@mstoykov mstoykov requested a review from a team as a code owner May 23, 2024 07:39
@mstoykov mstoykov requested review from oleiade and joanlopez and removed request for a team May 23, 2024 07:39
@mstoykov mstoykov mentioned this pull request May 23, 2024
5 tasks
Base automatically changed from subProtocol to main May 28, 2024 15:02
@mstoykov mstoykov force-pushed the fixBufferedAmount branch from 17b1c39 to 1a0659a Compare May 29, 2024 08:34
@mstoykov mstoykov merged commit 21b9fd5 into main May 29, 2024
10 checks passed
@mstoykov mstoykov deleted the fixBufferedAmount branch May 29, 2024 08:38
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.

3 participants