virtual std::any async_state() const noexcept=0
Gets a user-defined object that qualifies or contains information about an asynchronous operation...
Contains xtd::threading::wait_handle exception.
Represents the status of an asynchronous operation.
Definition: iasync_result.h:22
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
virtual xtd::threading::wait_handle & async_wait_handle() noexcept=0
Gets a xtd::threading::wait_handle that is used to wait for an asynchronous operation to complete...
Contains xtd::interface interface.
virtual bool is_completed() const noexcept=0
Gets a value that indicates whether the asynchronous operation has completed.
Contains std::any type and std::bad_any_cast exception.
virtual bool completed_synchronously() const noexcept=0
Gets a value that indicates whether the asynchronous operation completed synchronously.
#define interface_
This keyword is use to represent an interface.
Definition: interface.h:54
Indicates that all styles except allow_binary_specifier, allow_octal_specifier and allow_hex_specifie...
Contains xtd::object class.
Encapsulates operating system specific objects that wait for exclusive access to shared resources...
Definition: wait_handle.h:48