KDDockWidgets API Documentation 2.1
Loading...
Searching...
No Matches
Classes | Namespaces | Concepts | Functions
qcorotask.h File Reference
#include "concepts_p.h"
#include "coroutine.h"
#include <atomic>
#include <cassert>
#include <memory>
#include <optional>
#include <type_traits>
#include <variant>
#include <vector>
Include dependency graph for qcorotask.h:

Go to the source code of this file.

Classes

class  QCoro::Task< T >
 An asynchronously executed task. More...
 

Namespaces

namespace  QCoro
 
namespace  QCoro::detail
 

Concepts

concept  QCoro::detail::TaskConvertible
 

Functions

template<typename T , typename QObjectSubclass , typename Callback >
requires detail::TaskConvertible<T> && (std::is_invocable_v<Callback> || std::is_invocable_v<Callback, detail::convertible_awaitable_return_type_t<T>> || std::is_invocable_v<Callback, QObjectSubclass *> || std::is_invocable_v<Callback, QObjectSubclass *, detail::convertible_awaitable_return_type_t<T>>) && (!detail::isTask_v<T>)
void QCoro::connect (T &&future, QObjectSubclass *context, Callback func)
 

© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDDockWidgets
Advanced Dock Widget Framework for Qt
https://www.kdab.com/development-resources/qt-tools/kddockwidgets/
Generated by doxygen 1.9.8