2018-01-09 15:36:42 +01:00

8 lines
131 B
JavaScript

class Query {
async *queryAll(ids) {
for (const id of ids) {
yield await this.query(id);
}
}
}