This is a step by step tutorial, how to use promises through an example.
Ignac is an ordinary person, who does the same things every morning. Through his every-day activity we can easily understand how promises work.
- Simple sync sequence
- Sync sequence with callbacks
- Async sequence with callbacks
- Promise, resolve, reject, callback, etc...
- Embed promises
- Promise chains
- Promise chain with catches