Student Reviews
( 5 Of 5 )
1 review
Video of Using Async and Await #1 in Ionic course by Paul Halliday channel, video No. 34 free certified online
Learn Ionic 3 From Scratch - https://www.udemy.com/learn-ionic-3-from-scratch/?couponCodeIONIC3MAY
Support the content: https://www.patreon.com/PaulHalliday - EXCLUSIVE early access to the next video(s), as well as other benefits!
Ionic 3 - Using Async and Await
A lot of people ask me about using "async" and "await" inside of your projects. I wrote a blog post on this last month which can be found here: https://learnionic2.com/2017/03/17/escaping-callback-hell-with-async-and-await/
Essentially, we're swapping out our .then() calls for:
const result await functionName()
Code written after the await call will not be executed until the promise has resolved.
If this doesn't work in your version of TypeScript, you may have to update or target a future version of JavaScript within your tsconfig.json.
The extra epic content always comes via email first. Sign up so you're not left behind: http://eepurl.com/cBCqO9
You can also find me:
http://twitter.com/PWHSoftware
http://linkedin.com/in/paulhal