Cover image for JavaScript Promises Essentials.
JavaScript Promises Essentials.
Title:
JavaScript Promises Essentials.
Author:
Sarieddine, Rami.
ISBN:
9781783985654
Personal Author:
Physical Description:
1 online resource (95 pages)
Contents:
JavaScript Promises Essentials -- Table of Contents -- JavaScript Promises Essentials -- Credits -- About the Author -- Acknowledgments -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers, and more -- Why subscribe? -- Free access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Errata -- Piracy -- Questions -- 1. JavaScript Promises - Why Should I Care? -- Asynchronous programming in JavaScript -- Why should I care about promises? -- Can't I just use a callback? -- Summary -- 2. The Promise API and Its Compatibility -- Getting to know the API -- Browser support and compatibility -- Checking the browser compatibility -- Libraries with promise-like features -- Summary -- 3. Chaining of Promises -- Chaining like never before -- Chaining in sequence -- Summary -- 4. Error Handling -- Exceptions and promises -- Handling errors with promises -- Summary -- 5. Promises in WinJS -- Introducing WinJS -- Explaining the WinJS.Promise object -- Constructors -- Events -- Methods -- Using WinJS promises -- Summary -- 6. Putting It All Together - Promises in Action -- Implementing a promise library -- Implementing the then method -- Defining a resolve method -- Implementing the doResolve function -- Wrapping the code -- Putting the promise into action -- Summary -- Index.
Abstract:
If you are a JavaScript developer working with asynchronous operations and want to know more about promises, then this book is ideal for you. Having a detailed explanation of JavaScript promises will be perfect as your next step towards adopting this new standard and using the API in your web and JavaScript applications.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: