nathanaschbacher / nodiak

Nodiak is a Node.js client for the Riak Distributed Database
MIT License
43 stars 16 forks source link

Streams don't work with async.js phases #2

Closed nathanaschbacher closed 12 years ago

nathanaschbacher commented 12 years ago

The first chunk of a stream gets returned through the callback which ends up also calling the callback that async.js uses to signal the completion of a particular phase.

This causes the async.js phase to end prematurely and the rest of the stream ends up either ignored or occurring outside the expected flow-control.

nathanaschbacher commented 12 years ago

Closed by: https://github.com/Coradine/nodiak/commit/218b24dc38be882b12635e18c28357f4018d0fe4