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:
  - #41
  - #141
  - #142
  - #173
  • Loading branch information
vqvu committed Nov 29, 2014
1 parent f0b0bf8 commit 6297c77
Show file tree
Hide file tree
Showing 2 changed files with 538 additions and 464 deletions.
Loading

0 comments on commit 6297c77

Please sign in to comment.