© Anto Aravinth, Srikanth Machiraju 2018
A. Aravinth, S. MachirajuBeginning Functional JavaScripthttps://doi.org/10.1007/978-1-4842-4087-8_10

10. Pause, Resume, and Async with Generators

Anto Aravinth1  and Srikanth Machiraju2
(1)
Chennai, Tamil Nadu, India
(2)
Hyderabad, Andhra Pradesh, India
 

We started the book with a simple definition of functions, then we saw how to use functions to do great things using the functional programming technique. We have seen how to handle arrays, objects, and error handling, in pure functional terms. It has been quite a long journey for us, but we still have not talked about yet another important technique that every JavaScript developer should be aware of: asynchronous code.

You have dealt with a great deal of asynchronous ...

Get Beginning Functional JavaScript: Uncover the Concepts of Functional Programming with EcmaScript 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.