PhaultLines

Using Async Iterators in Node.js

This talk demonstrates how to use async iterators and the new for-await-of syntax in Node.js 10. It includes some real-world examples, like iterating over the contents of a file, handling a streaming database query, and using SSE to publish the values yielded by an async iterator. The talk also dives into cancellation patterns for promises and async iterators.

Watch Video ›   Read Slides ›