CHAPTER 23

image

Asynchronous Programming with Dart

In this chapter we’ll cover the asynchronous programming in Dart, what Future and Stream are and how you can work with them. We’ll see how you can create your own asynchronous functions in Dart using the Future API and Completers.

At the end of the chapter we’ll show you an example of creating your own library based on Future API to manage contact information stored in IndexedDb.

When we began working with Dart we noticed this language would have great potential, not only for the great tools it offers but also how this new language unify all the mixture of tools, languages , and browsers we use to ...

Get Web Programming with Dart now with the O’Reilly learning platform.

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