xtd - Reference Guide
0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
|
#include <iasync_result.h>
Represents the status of an asynchronous operation.
Inherits xtd::interface.
Inherited by xtd::forms::control::async_result_invoke.
Public Member Functions | |
virtual std::shared_mutex & | async_mutex ()=0 |
Gets a std::mutex that is used to wait for an asynchronous operation to complete. More... | |
virtual std::any | async_state () const noexcept=0 |
Gets a user-defined object that qualifies or contains information about an asynchronous operation. More... | |
virtual bool | completed_synchronously () const noexcept=0 |
Gets a value that indicates whether the asynchronous operation completed synchronously. More... | |
virtual bool | is_completed () const noexcept=0 |
Gets a value that indicates whether the asynchronous operation has completed. More... | |
|
pure virtual |
Gets a std::mutex that is used to wait for an asynchronous operation to complete.
Implemented in xtd::forms::control::async_result_invoke.
|
pure virtualnoexcept |
Gets a user-defined object that qualifies or contains information about an asynchronous operation.
Implemented in xtd::forms::control::async_result_invoke.
|
pure virtualnoexcept |
Gets a value that indicates whether the asynchronous operation completed synchronously.
Implemented in xtd::forms::control::async_result_invoke.
|
pure virtualnoexcept |
Gets a value that indicates whether the asynchronous operation has completed.
Implemented in xtd::forms::control::async_result_invoke.