galaxy
1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
galaxy::async Namespace Reference
Functions
template<typename T = void>
bool
is_work_done
(const std::future< T > &task) noexcept
Check if an async thread has finished or not.
Function Documentation
◆
is_work_done()
template<typename T = void>
bool galaxy::async::is_work_done
(
const std::future< T > &
task
)
inline
nodiscard
noexcept
Check if an async thread has finished or not.
Template Parameters
T
Template type for std::future<T>.
Parameters
task
Future returned from thread to check.
Returns
Returns true when task has finished.
Definition at line
31
of file
Async.hpp
.
Here is the caller graph for this function:
galaxy
async
Generated on
for galaxy by
1.17.0