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: Introduce buffer timeout #37

Merged
merged 3 commits into from
Mar 10, 2024
Merged

feat: Introduce buffer timeout #37

merged 3 commits into from
Mar 10, 2024

Conversation

gbence
Copy link
Contributor

@gbence gbence commented Mar 8, 2024

bufferTimeout enables Trap to guarantee that events don't wait longer in the client buffer than it is expected.

@codecov-commenter
Copy link

codecov-commenter commented Mar 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.73%. Comparing base (aeba2a8) to head (212353f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #37      +/-   ##
==========================================
+ Coverage   95.53%   95.73%   +0.19%     
==========================================
  Files          14       14              
  Lines         493      516      +23     
  Branches       94       99       +5     
==========================================
+ Hits          471      494      +23     
  Misses         21       21              
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@denessapi denessapi left a comment

Choose a reason for hiding this comment

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

Just minor things

test/trap.buffer-timeout.test.js Outdated Show resolved Hide resolved
src/trap.js Outdated Show resolved Hide resolved
`bufferTimeout` enables Trap to guarantee that events don't wait longer
in the client buffer than it is expected.
@gbence gbence merged commit d20f19d into main Mar 10, 2024
2 checks passed
@gbence gbence deleted the bence-buffer-timeout branch March 10, 2024 09:28
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.

None yet

5 participants