pub trait RtAsyncOperation: RtAsyncAction {
    type TResult;

    fn get_results(&self) -> Result<Self::TResult>;

    fn blocking_get(&self) -> Result<Self::TResult> { ... }
}
Expand description

Extension for IAsyncOperation with helper methods.

Required Associated Types§

Required Methods§

Provided Methods§

Waits for the asynchronous operation to complete, blocking the current thread, then return the result.

Implementors§