[Interest] QML async/await support?

Vlad Stelmahovsky vladstelmahovsky at gmail.com
Thu Feb 2 20:07:07 CET 2017


may be its better for you to switch on something pure JS?
JS in Qt/QML just for non performance sensitive small peaces of code
If your main logic based on ECMAScript, its non optimal from Qt's
perspective

On Thu, Feb 2, 2017 at 7:54 PM, Jason H <jhihn at gmx.com> wrote:

> Yes, I know that. I do that regularly.
>
> But AJAX and the LocaStorage are both async in nature. My apps make heavy
> use of both APIs. Having Ecmascript async/await support is desired, and
> becoming very popular.
>
> *Sent:* Thursday, February 02, 2017 at 1:26 PM
>
> *From:* "Vlad Stelmahovsky" <vladstelmahovsky at gmail.com>
> *To:* "Jason H" <jhihn at gmx.com>
> *Cc:* "interestqt-project.org" <interest at qt-project.org>
> *Subject:* Re: [Interest] QML async/await support?
> In C++. you can always fallback to C++ from QML
>
> On Thu, Feb 2, 2017 at 7:24 PM, Jason H <jhihn at gmx.com> wrote:
>>
>> In QML?
>>
>> *Sent:* Thursday, February 02, 2017 at 1:21 PM
>> *From:* "Vlad Stelmahovsky" <vladstelmahovsky at gmail.com>
>> *To:* "Jason H" <jhihn at gmx.com>
>> *Cc:* "interestqt-project.org" <interest at qt-project.org>
>> *Subject:* Re: [Interest] QML async/await support?
>> QThread, QConcurrent, QEventLoop etc?
>>
>> On Thu, Feb 2, 2017 at 6:02 PM, Jason H <jhihn at gmx.com> wrote:
>>>
>>> When will QML get proper async/await support? I'm not using Promises,
>>> since my callback hell is manageable, but I do look forward to async/await.
>>> _______________________________________________
>>> Interest mailing list
>>> Interest at qt-project.org
>>> http://lists.qt-project.org/mailman/listinfo/interest
>>
>>
>>
>> --
>> Best regards,
>> Vlad
>>
>
>
> --
> Best regards,
> Vlad
>



-- 
Best regards,
Vlad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170202/5d84e075/attachment.html>


More information about the Interest mailing list