Book Image

Dart Essentials

Book Image

Dart Essentials

Overview of this book

Table of Contents (16 chapters)
Dart Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


This chapter focused on a very practical aspect of Dart. From Streams and the Future-Based API to Ajax, Dart 1.9 took a significant step forward in simplifying the usage of asynchronous APIs using new async and await keywords. If you don't find yourself familiar with the Future-Based API, at least try to understand the new async and await features and try to compare Dart's approach to an asynchronous code to what you already know from JavaScript.

We also saw that Dart can work with existing JavaScript code and vice versa. There are some limitations, but the Dart development team announced that they'll focus on simplifying the integration of Dart and JavaScript so the future looks promising.

In the next chapter, we'll focus more on HTML5-specific APIs.