JavaScript with promises

JavaScript with promises

by Parker, Daniel

Type Book
Rate 0.0 /5

If you're a developer moving to an environments that make heavy use of asynchronous APIs, such as Node, WinRT, or Chrome packaged apps, this book how to make use of Promise constructs. JavaScript routinely supports asynchronous code, setting something up with no expectation of when a response might come back. Unfortunately, writing code in that style is difficult for humans, and Promises are a key set of tools for bridging that gap. This book shows you how to use these tools, and also demonstra…

Read More ↓

Title Statements

  • Full title :JavaScript with promises / Daniel Parker.

Summary

If you're a developer moving to an environments that make heavy use of asynchronous APIs, such as Node, WinRT, or Chrome packaged apps, this book how to make use of Promise constructs. JavaScript routinely supports asynchronous code, setting something up with no expectation of when a response might come back. Unfortunately, writing code in that style is difficult for humans, and Promises are a key set of tools for bridging that gap. This book shows you how to use these tools, and also demonstrates techniques that enable you to use features like IndexedDB or WebRTC. --

Read More ↓

Edition Statements

  • Publication Date:2015

Publication Statements

  • Publisher(s):O'Reilly
  • Place of Publication:Beijing
  • Language:eng
  • Publication Date:2015

Notes

"Managing asynchronous code."--Cover

The Physical Object

  • Description:1 online resource

Edition Identifiers

  • ISBN:9781491930793, 1491930799, 9781491930748, 1491930748, 9781491930779, 1491930772
  • oclc:ocn910662966
  • LC Classification:QA76.73.J39
  • Dewey Decimal:005.2762

Table of Contents

Copyright; Table of Contents; Preface; Intended Audience; A Word on Style; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; Chapter 1. Asynchronous JavaScript; Callbacks; Asynchronous JavaScript; Run to Completion and the Event Loop; Summary; Chapter 2. Introducing Promises; Basic Usage; Multiple Consumers; Promise States; Chaining Promises; Callback Execution Order; Basic Error Propagation; The Promise API; Summary; Chapter 3. Working with Standard Promises; The Async Ripple Effect; Conditional Logic; Parallel Execution.

Sequential Execution Using Loops or RecursionManaging Latency; Functional Composition; Summary; Chapter 4. Using Libraries and Frameworks; Promise Interoperability and Thenables; The Bluebird Promise Library; Loading Bluebird; Managing Execution Context; Wrapping Node.js Functions; Working with Collections of Promises; Manipulating Fulfillment Values; Promises in jQuery; Summary; Chapter 5. Error Handling; Rejecting Promises; Passing Errors; Unhandled Rejections; Implementing try/catch/finally; Using the Call Stack; Summary; Chapter 6. Combining ECMAScript 6 Features with Promises.

DestructuringArrow …

Read More ↓

Subjects

Writers

Rate & Review

0.0/5
(0 people Voted)

No reviews yet. Be the first to rate this work.

Files & Downloads

  • JavaScript with Promises -- (.pdf)

    PDF · 2.0 MB · updated
  • JavaScript with Promises -- (.epub)

    EPUB · 3.3 MB · updated
  • JavaScript with Promises -- (.mobi)

    MOBI · 7.4 MB · updated
  • JavaScript with Promises: Managing Asynchronous C…

    PDF · 2.3 MB · updated