xtd - Reference Guide
0.1.2
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
|
Inherits xtd::iasync_result.
Public Attributes | |
std::shared_ptr< std::shared_mutex > | async_mutex_ |
std::any | async_state_ |
std::shared_ptr< bool > | is_completed_ |
Public Member Functions | |
async_result_invoke (std::any async_state) | |
std::shared_mutex & | async_mutex () override |
Gets a std::mutex that is used to wait for an asynchronous operation to complete. | |
std::any | async_state () const noexcept override |
Gets a user-defined object that qualifies or contains information about an asynchronous operation. | |
bool | completed_synchronously () const noexcept override |
Gets a value that indicates whether the asynchronous operation completed synchronously. | |
bool | is_completed () const noexcept override |
Gets a value that indicates whether the asynchronous operation has completed. | |
virtual std::shared_mutex & | async_mutex ()=0 |
Gets a std::mutex that is used to wait for an asynchronous operation to complete. | |
virtual std::any | async_state () const noexcept=0 |
Gets a user-defined object that qualifies or contains information about an asynchronous operation. | |
virtual bool | completed_synchronously () const noexcept=0 |
Gets a value that indicates whether the asynchronous operation completed synchronously. | |
virtual bool | is_completed () const noexcept=0 |
Gets a value that indicates whether the asynchronous operation has completed. | |
|
inlineoverridevirtual |
Gets a std::mutex that is used to wait for an asynchronous operation to complete.
Implements xtd::iasync_result.
|
inlineoverridevirtualnoexcept |
Gets a user-defined object that qualifies or contains information about an asynchronous operation.
Implements xtd::iasync_result.
|
inlineoverridevirtualnoexcept |
Gets a value that indicates whether the asynchronous operation completed synchronously.
Implements xtd::iasync_result.
|
inlineoverridevirtualnoexcept |
Gets a value that indicates whether the asynchronous operation has completed.
Implements xtd::iasync_result.