MillicastSDK 2.0.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
millicast::detail::PromiseImpl< T > Class Template Referenceabstract

#include <promise.h>

Public Member Functions

virtual ~PromiseImpl ()=default
 
virtual void on_result (const typename detail::PromiseResultCbType< T >::Type &cb)=0
 
virtual void on_error (const std::function< void(const Error &)> &cb)=0
 

Constructor & Destructor Documentation

◆ ~PromiseImpl()

template<typename T >
virtual millicast::detail::PromiseImpl< T >::~PromiseImpl ( )
virtualdefault

Member Function Documentation

◆ on_error()

template<typename T >
virtual void millicast::detail::PromiseImpl< T >::on_error ( const std::function< void(const Error &)> &  cb)
pure virtual

◆ on_result()

template<typename T >
virtual void millicast::detail::PromiseImpl< T >::on_result ( const typename detail::PromiseResultCbType< T >::Type &  cb)
pure virtual

The documentation for this class was generated from the following file: