Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
AsyncHelpers.h File Reference
#include <ppl.h>
#include <ppltasks.h>
#include <sdkddkver.h>

Namespaces

namespace  winrt
 

Functions

bool is_sta ()
 
void Wait (const winrt::IAsyncAction &asyncOp)
 
template<typename TResult , typename TProgress >
TResult Wait (const winrt::IAsyncOperationWithProgress< TResult, TProgress > &asyncOp)
 
template<typename TResult >
TResult Wait (const winrt::IAsyncOperation< TResult > &asyncOp)
 
template<typename TResult >
TResult Wait (const Concurrency::task< TResult > &asyncOp)
 

Function Documentation

◆ is_sta()

bool is_sta ( )
inline

◆ Wait() [1/4]

template<typename TResult >
TResult Wait ( const Concurrency::task< TResult > & asyncOp)
inline

◆ Wait() [2/4]

void Wait ( const winrt::IAsyncAction & asyncOp)
inline

◆ Wait() [3/4]

template<typename TResult >
TResult Wait ( const winrt::IAsyncOperation< TResult > & asyncOp)
inline

◆ Wait() [4/4]

template<typename TResult , typename TProgress >
TResult Wait ( const winrt::IAsyncOperationWithProgress< TResult, TProgress > & asyncOp)
inline