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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.137.163.197