Question: I cannot access <http://android.git.kernel.org/>. So where can I download the source code of the Music Player default of android?  

I'm using android 2.2.1

**Edit:**  

Android source now can be found here: <https://android.googlesource.com/>

Answer: 
Streaming in Mongoose became available in version 2.4.0 which appeared [three months](https://github.com/LearnBoost/mongoose/tags) after you've posted this question:

```
Model.where('created').gte(twoWeeksAgo).stream().pipe(writeStream);

```

More elaborated examples can be found on their [documentation page](http://mongoosejs.com/docs/api.html#query_Query-stream).
[`node-mongodb-driver`](https://github.com/mongodb/node-mongodb-native) (the underlying layer that every mongoDB client uses in nodejs) except the cursor API that others mentioned has a nice stream API ([#458](https://github.com/mongodb/node-mongodb-native/pull/458)). Unfortunately i did not find it documented elsewhere.

Update: [there are docs](https://docs.mongodb.com/drivers/node/current/fundamentals/crud/read-operations/cursor/#stream-api).

It can be used like this:

```
var stream = collection.find().stream()
stream.on('error', function (err) {
  console.error(err)
})
stream.on('data', function (doc) {
  console.log(doc)
})

```

It actually implements the ReadableStream interface, so it has all the goodies (pause/resume etc)