Skip to content

feat(sse): add context.Context to Broadcaster interface methods#171

Merged
alexferl merged 1 commit into
masterfrom
sse_context
Apr 27, 2026
Merged

feat(sse): add context.Context to Broadcaster interface methods#171
alexferl merged 1 commit into
masterfrom
sse_context

Conversation

@alexferl
Copy link
Copy Markdown
Owner

All Broadcaster methods — Register, Unregister, Subscribe, Unsubscribe, Broadcast, and BroadcastTo — now accept a context.Context as their first parameter. Updated implementations, tests, benchmarks, examples, and documentation accordingly.

All Broadcaster methods — Register, Unregister, Subscribe, Unsubscribe, Broadcast, and BroadcastTo — now accept a context.Context as their first parameter. Updated
implementations, tests, benchmarks, examples, and documentation accordingly.

Signed-off-by: alexferl <me@alexferl.com>
@coveralls
Copy link
Copy Markdown

Coverage Report for CI Build 25012184880

Coverage increased (+0.02%) to 93.989%

Details

  • Coverage increased (+0.02%) from the base build.
  • Patch coverage: 8 of 8 lines across 1 file are fully covered (100%).
  • 2 coverage regressions across 1 file.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

2 previously-covered lines in 1 file lost coverage.

File Lines Losing Coverage Coverage
internal/bind/registry.go 2 82.89%

Coverage Stats

Coverage Status
Relevant Lines: 11279
Covered Lines: 10601
Line Coverage: 93.99%
Coverage Strength: 512.81 hits per line

💛 - Coveralls

@alexferl alexferl merged commit 0ba48ee into master Apr 27, 2026
9 checks passed
@alexferl alexferl deleted the sse_context branch April 27, 2026 18:31
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.

2 participants