In a for-loop, I can call break; to exit. When I'm in a runQuery stream, I'm unsure how to exit early. Is there a way to document that?
Ie, it might be...
datastore.runQuery(query)
.on('data', function(entity) {
if (my exit criteria) this.exit(); // ?
});