C++ (Qt) while (true) { qDebug() << "entering loop"; co_await qtcoro::make_awaitable_signal(changeTimer, &QTimer::timeout); qDebug() << "awaited"; cr.changeColor(); } ....
C++ (Qt) while (true) { qDebug() << "entering loop"; co_await qtcoro::make_awaitable_signal(changeTimer, &QTimer::timeout); qDebug() << "awaited"; cr.changeColor(); }