1 #ifndef INCLUDEJS_ENGINE_PROMISE_H_
2 #define INCLUDEJS_ENGINE_PROMISE_H_
4 #include "engine_export.h"
6 #include <includejs/engine_value.h>
20 auto resolve(
Value result) -> void;
21 auto reject(
Value error) -> void;
22 auto value() ->
Value;
26 std::unique_ptr<Internal>
internal;
27 bool completed{
false};
Definition: engine_promise.h:13
Definition: engine_value.h:30