libkazv
Kazv::PromiseInterface< DeriveT, PromiseT > Class Template Reference

#include <promise-interface.hpp>

Public Member Functions

 PromiseInterface (DeriveT *obj)
 
template<class T , class FuncT >
auto create (FuncT &&func) -> PromiseT< T >
 
template<class T >
auto createResolved (T &&val) -> PromiseT< T >
 

Constructor & Destructor Documentation

◆ PromiseInterface()

template<class DeriveT , template< class > class PromiseT>
Kazv::PromiseInterface< DeriveT, PromiseT >::PromiseInterface ( DeriveT *  obj)
inline

Member Function Documentation

◆ create()

template<class DeriveT , template< class > class PromiseT>
template<class T , class FuncT >
auto Kazv::PromiseInterface< DeriveT, PromiseT >::create ( FuncT &&  func) -> PromiseT<T>

◆ createResolved()

template<class DeriveT , template< class > class PromiseT>
template<class T >
auto Kazv::PromiseInterface< DeriveT, PromiseT >::createResolved ( T &&  val) -> PromiseT<T>

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