This demo showcases the following asynchronous patterns in a Lightning web component using Promises and Async/Await:
- Optimized resource loading
- Race condition handling
-
Install the demo by running this script:
MacOS or Linux
./install-dev.sh
Windows
install-dev.bat
-
Add the Async Demo component to any Lightning page