The OpenD Programming Language

cef_v8value_t.resolve_promise

Resolve 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. |arg| is the argument passed to the resolved promise. 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, cef_v8value_t* arg) nothrow resolve_promise;

Meta