Skip to content

Added callbacks to the room package#2

Merged
andreimerlescu merged 6 commits intomainfrom
feature/callback
Apr 13, 2026
Merged

Added callbacks to the room package#2
andreimerlescu merged 6 commits intomainfrom
feature/callback

Conversation

@andreimerlescu
Copy link
Copy Markdown
Owner

When the room is full or when the room is evicted, callbacks allow for actions to take place in the lifecycle of the room.

The goal of this PR is to introduce the functionality to room that allows events to be emitted to the consumer application using room in their gin web applications.

@andreimerlescu andreimerlescu self-assigned this Apr 13, 2026
@andreimerlescu andreimerlescu added the enhancement New feature or request label Apr 13, 2026
- unbounded queue depth addressed by new fields plus 503 return
- cookie scoping addressed by cookie construction and new fields
- reaper batch starvation addressed by splitting reap into reap loops
- event full fires on every admission fixed
- event drain fires on empty instead of transition fixed
- status poll rate limiting fixed
- removed unused code
- added reaper_test.go
- addressed strings package usage directly with newer go version
@andreimerlescu andreimerlescu merged commit 4249aad into main Apr 13, 2026
1 check passed
@andreimerlescu andreimerlescu deleted the feature/callback branch April 13, 2026 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant