Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

extracted ReadStream state manager, fixes #82 #84

Merged
merged 1 commit into from
Mar 1, 2013

Conversation

rvagg
Copy link
Member

@rvagg rvagg commented Mar 1, 2013

Also #83

Too much magic going on with this._status, extracted it to a separate state object (something like a state machine) with explicit logic for what can happen in the different states.

Is this lame? I'm just sick of managing readable stream state under complex async conditions so I figure being clear & explicit about it is the safest way to go.

@rvagg
Copy link
Member Author

rvagg commented Mar 1, 2013

merging this in lieu of feedback, I'd like to get a fix out there, we can clean up later if anyone objects to my approach.

rvagg added a commit that referenced this pull request Mar 1, 2013
extracted ReadStream state manager, fixes #82
@rvagg rvagg merged commit 12e218c into master Mar 1, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant