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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.