Random Internet Lecture: Async Iterables in Javascript

Опубликовано: 02 Сентябрь 2021
на канале: joedotjs
379
29

This is a lecture I once prepared and recorded for a job application. I awkwardly removed (most of) the company-specific bits to share with the world. 😄 This lecture is about the Javascript language itself, no extra libraries or tools.

Async Iterables combine the semantic power of async/await (properly rated) with the structure-agnostic pattern of iterables/for...of (totally underrated). This is a one-take lecture about what "for await...of" does and why.

Useful if you want to learn about:
Asynchronicity in Javascript (including some history)
Javascript iterators/iteration protocol (and how to roll your own)
"for await...of" and possible applications of it

Thanks for watching!

00:00 Asynchronicity and some history
06:00 Iterables
17:12 Defining a custom iteration protocol with Symbol.iterator
26:35 Async iterables
39:28 for await...of
43:08 Extrapolated use cases for async iterables
45:30 Conclusion


На этой странице сайта вы можете посмотреть видео онлайн Random Internet Lecture: Async Iterables in Javascript длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь joedotjs 02 Сентябрь 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 379 раз и оно понравилось 29 зрителям. Приятного просмотра!