Skip to content

Commit

Permalink
Reimplement stream backend.
Browse files Browse the repository at this point in the history
This involves:
  - Totally reimplementing stream redirection.
  - Reimplementing `consume`, `pull`, `fork`, and `resume`.

Backward incompatible;
  - The stream no longer pauses if `next` isn't synchronously called
    in
    `consume`, since this is no longer necessary to signal (lack of)
    demand to the source.
  - Lots of methods and properties that start with `_` changed
    (these
    were private anyway).
  - The callback for the stream generator and `consume` is
    guaranteed
    not to be called a second time until `next` is called.

Fixes:
  - caolan#41
  - caolan#141
  - caolan#142
  - caolan#173
  • Loading branch information
vqvu committed Nov 29, 2014
1 parent f0b0bf8 commit 59c8567
Show file tree
Hide file tree
Showing 2 changed files with 530 additions and 464 deletions.
Loading

0 comments on commit 59c8567

Please sign in to comment.