Skip to content

Supports Non-Blocking reads#199

Open
narenknn wants to merge 15 commits intoTextalk:masterfrom
narenknn:master
Open

Supports Non-Blocking reads#199
narenknn wants to merge 15 commits intoTextalk:masterfrom
narenknn:master

Conversation

@narenknn
Copy link

@narenknn narenknn commented Mar 3, 2026

when option is provided as ['blocking' => false], then the Connection::read calls Connection::nbread, which returns empty message if a message was not fully received.

It can be used by designs those have their own threading / looping mechanisms and just want to periodically check if any message was received.

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.

1 participant