35 using Job = std::function<bool()>;
45 bool asyncLauncher(
const Job &job,
bool await =
false,
bool freaze =
true)
const;
54 Async(QThread* thread, QObject* ptr =
nullptr);
69 bool waitFor(
bool* condition,
int timeout =
WAIT_TIME,
bool freaze =
true)
const;
78 bool waitFor(
const Job &condition,
int timeout =
WAIT_TIME,
bool freaze =
true)
const;
138 bool* endOfWork =
nullptr,
139 bool* resultOfWork =
nullptr)
const;
149 void threadAnalize(QThread* thread);
The Async class This is bundle of async templates and async wrappers.
std::function< bool()> Job
#define HEARTSHARED_EXPORT
Q_DECLARE_METATYPE(QH::HostAddress)
The QH namespace - QuasarApp Heart namespace. This namespace contains all classes of the Heart librar...