Skip to main content

JSNation

JSNationJavaScript Iteration Protocols

jsnation

Event Details

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 with Luciano Mammino, attendees 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!

Time

All Day (Thursday)(GMT+02:00)

Location

The Kromhouthal

Gedempt Hamerkanaal 231, 1021 KP Amsterdam

Leave a Reply