API documentation  2.0rc1
Public Member Functions | List of all members
client::PromiseRejectionEventInit Class Reference

#include <clientlib.h>

Inherits client::EventInit.

Public Member Functions

Promiseget_promise ()
 
void set_promise (Promise *)
 
Objectget_reason ()
 
void set_reason (Object *)
 
- Public Member Functions inherited from client::EventInit
bool get_bubbles ()
 
void set_bubbles (bool)
 
bool get_cancelable ()
 
void set_cancelable (bool)
 
bool get_scoped ()
 
void set_scoped (bool)
 
- Public Member Functions inherited from client::Object
 Object ()
 
template<typename T >
valueOf ()
 
 operator double () const
 
Objectoperator[] (const client::String &name) const
 
void set_ (const client::String &name, Object *v)
 
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type>
void set_ (const client::String &name, T v)
 
bool hasOwnProperty (const client::String &name)
 

Member Function Documentation

◆ get_promise()

Promise* client::PromiseRejectionEventInit::get_promise ( )

◆ get_reason()

Object* client::PromiseRejectionEventInit::get_reason ( )

◆ set_promise()

void client::PromiseRejectionEventInit::set_promise ( Promise )

◆ set_reason()

void client::PromiseRejectionEventInit::set_reason ( Object )