Contains std::any type and std::bad_any_cast exception.
Represents the status of an asynchronous operation.
Definition iasync_result.hpp:25
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.
virtual bool is_completed() const noexcept=0
Gets a value that indicates whether the asynchronous operation has completed.
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.
#define interface_
This keyword is use to represent an interface.
Definition interface.hpp:58
Contains xtd::interface interface.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Contains xtd::object class.
Contains xtd::threading::wait_handle exception.