libcrtc
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
crtc::Promise< Args > Class Template Reference

#include <crtc.h>

Inheritance diagram for crtc::Promise< Args >:
crtc::Reference

Public Types

typedef Functor< void(Args...)> FullFilledCallback
 
typedef Callback FinallyCallback
 
typedef ErrorCallback RejectedCallback
 
typedef Functor< void(const FullFilledCallback &resolve, const RejectedCallback &reject)> ExecutorCallback
 

Public Member Functions

Let< Promise< Args... > > Then (const FullFilledCallback &callback)
 
Let< Promise< Args... > > Catch (const RejectedCallback &callback)
 
Let< Promise< Args... > > Finally (const FinallyCallback &callback)
 

Static Public Member Functions

static Let< Promise< Args... > > New (const ExecutorCallback &executor, const Let< Worker > &worker=Worker::This())
 

Friends

class Let< Promise< Args... > >
 

Detailed Description

template<typename... Args>
class crtc::Promise< Args >

See also
https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise

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