← Back to Speaking

JavaScript Iteration Protocols

Calendar Icon Oct 3-5, 2022
NodeConf EU
Kilkenny, Ireland
Workshop

Abstract

How many ways do you know to do iteration with JavaScript and Node.js? While, for loop, for…in, for..of, .map(), .forEach(), streams, iterators, etc! Yes, there are a lot of ways! But did you know that JavaScript has iteration protocols to standardise synchronous and even asynchronous iteration?

In this workshop we will learn about these protocols and discover how to build iterators and iterable objects, both synchronous and asynchronous. We will learn about some common use cases for these protocols, explore generators and async generators (great tools for iteration) and finally discuss some hot tips, common pitfalls, and some (more or less successful) wild ideas!

Slides

Location

Kilkenny

Event Details

Date
Oct 3-5, 2022
Event
NodeConf EU
Location
Kilkenny, Ireland
Type
Workshop
Language
English 🇬🇧