harmony
04/01/2018, 10:58 PMJoe
04/01/2018, 11:02 PMharmony
04/01/2018, 11:29 PMharmony
04/01/2018, 11:29 PMJoe
04/01/2018, 11:57 PMharmony
04/02/2018, 12:26 AMconst iter = await subscribe();
while (true) {
const { value, done } = await iter.next();
if (done) break;
// do something with the value
}
harmony
04/02/2018, 12:26 AMJoe
04/02/2018, 12:41 AM