© 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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.