The OpenD Programming Language

cef_v8value_t.reject_promise

Reject the Promise using the current V8 context. This function should only be called from within the scope of a cef_v8handler_t or cef_v8accessor_t callback, or in combination with calling enter() and exit() on a stored cef_v8context_t reference. Returns true (1) on success. Returns false (0) if this function is called incorrectly or an exception is thrown.

struct cef_v8value_t
extern (System)
int function(cef_v8value_t* self, const(cef_string_t)* errorMsg) nothrow reject_promise;

Meta