I'm playing around with [GraphQL-JS](https://github.com/graphql/graphql-js) right now, wiring it up to a MariaDB backend. 

I've figured out how to return an entire result set:

```
const queryType = new GraphQLObjectType({
    name: 'Query',
    fields: () => ({
        users: {
            type: new GraphQLList(userType),
            resolve: (root, args) => new Promise((resolve, reject) => {
                db.query('select * from users', (err, rows, fields) => {
                    if(err) return reject(err);
                    resolve(rows);
                });
            }),
        }
    })
});

```

Which is pretty cool, but the [library I'm using](https://github.com/felixge/node-mysql) also lets me [stream results](https://github.com/felixge/node-mysql#streaming-query-rows), row-by-row. 

Does GraphQL have anything to facilitate this? 

As far as I can tell, `GraphQLList` is expecting a full array, and I can only resolve my result set once, not feed using an Emitter or something.