Skip to content

Client ConnectWithContext now includes a buffered channel size setting #166

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

daninmadison
Copy link
Contributor

@daninmadison daninmadison commented Sep 19, 2023

If the size is non-zero, a buffered channel for MsgConnected messages will be created. The caller receives a reference to the buffered channel (non-nil indicates a buffered channel was created). When the Client connects, it will send a MsgConnected message (true) on the buffered channel. If the Client disconnects, it will send a MsgConnected message (false) on the buffered channel. The caller is responsible for retrieving the buffered channel messages.# Please enter the commit message for your changes. Lines starting


This change is Reviewable

If the size is non-zero, a buffered channel for MsgConnected messages will be created.
The caller receives a reference to the buffered channel (non-nil indicates a buffered channel was created).
When the Client connects, it will send a MsgConnected message (true) on the buffered channel.
If the Client disconnects, it will send a MsgConnected message (false) on the buffered channel.
The caller is responsible for retrieving the buffered channel messages.# Please enter the commit message for your changes. Lines starting
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