xtd 0.2.0
Loading...
Searching...
No Matches

◆ end_invoke()

virtual std::optional< object_ref > xtd::isynchronize_invoke::end_invoke ( xtd::async_result  async)
pure virtual

Waits until the process started by calling xtd::isynchronize_invoke::begin_invoke completes, and then returns the value generated by the process.

Parameters
asyncAn xtd::iasync_result interface that represents the asynchronous operation started by calling xtd::isynchronize_invoke::begin_invoke.
Returns
An xtd::object that represents the return value generated by the asynchronous operation.
Remarks
This method gets the return value of the asynchronous operation represented by the xtd::iasync_result passed by this interface. If the asynchronous operation has not completed, this method will wait until the result is available.

Implemented in xtd::forms::control.