#include "concepts_p.h"
#include "coroutine.h"
#include <atomic>
#include <cassert>
#include <memory>
#include <optional>
#include <type_traits>
#include <variant>
#include <vector>
Go to the source code of this file.
|
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) |
|