Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

respect pause and resume #19

Merged
merged 1 commit into from Nov 22, 2012

Conversation

Projects
None yet
2 participants
Contributor

Raynos commented Nov 22, 2012

Note I call

var md = duplex().resume()

Because a bunch of your tests assume that md is in a resumed state initially.

It's upto you whether you want to change md to be paused and resume on next tick.

@dominictarr dominictarr merged commit 4524b46 into dominictarr:master Nov 22, 2012

Owner

dominictarr commented Nov 22, 2012

cool!

merged into mux-demux@3.4.0

Yeah, it's easier to test if you can make the module synchronous,
since this module doesn't actually do any IO directly.

Owner

dominictarr commented Nov 22, 2012

we should make the sum streams be duplex also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment