Generators are functions which can be exited and later re-entered. Their context (variable bindings) will be saved across re-entrances.
I continued with my JS course; the chapter is about generator functions. I did the introduction but do not really see how this would work with a “real world example”.
Luckily the DIY programming lesson is coming up which hopefully clearifies that.
I’ll do the hands on and use generator functions and promises to do API calls.