Note that the module is being deprecated in favour of native Javascript Promises. However, if your applications are complex with business logic spanning over a complex sequence of signals and slots then buying into Promises may be the key to reduce code complexity. ![]() If your applications are written and easy to maintain then you probably don't need to look into Promises right now. Promises is a Javascript coding pattern for working with asynchronous tasks.ĪppStudio (and QML) has signals and slots for working with asynchronous tasks. There already is a lot of content on the internet. This blog isn't a comprehensive guide to Promises. This blog is to give you a brief overview of what Promises are and how they matter to AppStudio and QML. ![]() AppStudio 3.3, Qt 5.12.1 and ECMAScript 7 (which includes ECMAScript 6) introduced native Javascript Promises.
0 Comments
Leave a Reply. |