Skip to content

Optional resuming of the socket - #145

Merged
chjj merged 1 commit into
chjj:masterfrom
apoco:paused-socket
Jan 18, 2016
Merged

chjj merged 1 commit into
chjj:masterfrom
apoco:paused-socket

Conversation

@apoco

@apoco apoco commented Jan 18, 2016

Copy link
Copy Markdown
Contributor

The immediate resumption the a socket means that output can be lost unless you start consuming it right away. In some cases, this behavior is undesirable. Adding an option to not automatically resume the socket enables data to be read after a delay.

The immediate resumption the a socket means that output can be lost
unless you start consuming it right away. In some cases, this
behavior is undesirable. Adding an option to not automatically resume
the socket enables data to be read after a delay.
@chjj

chjj commented Jan 18, 2016

Copy link
Copy Markdown
Owner

Totally agree with this change. That resume() call was in there from the first version. I never removed it because I didn't want to break compat, but having an option is reasonable.

chjj added a commit that referenced this pull request Jan 18, 2016
Optional resuming of the socket
@chjj
chjj merged commit 7d05463 into chjj:master Jan 18, 2016
@apoco

apoco commented Jan 18, 2016

Copy link
Copy Markdown
Contributor Author

Excellent, thank you.

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