v8  10.1.124 (node 18.2.0)
V8 is Google's open source JavaScript engine
v8-promise.h File Reference
#include "v8-local-handle.h"
#include "v8-object.h"
#include "v8config.h"
Include dependency graph for v8-promise.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  Promise
 
class  Promise::Resolver
 
class  PromiseRejectMessage
 

Namespaces

 v8
 

Macros

#define V8_PROMISE_INTERNAL_FIELD_COUNT   0
 

Typedefs

using PromiseHook = void(*)(PromiseHookType type, Local< Promise > promise, Local< Value > parent)
 
using PromiseRejectCallback = void(*)(PromiseRejectMessage message)
 

Enumerations

enum class  PromiseHookType { kInit , kResolve , kBefore , kAfter }
 
enum  PromiseRejectEvent { kPromiseRejectWithNoHandler = 0 , kPromiseHandlerAddedAfterReject = 1 , kPromiseRejectAfterResolved = 2 , kPromiseResolveAfterResolved = 3 }
 

Macro Definition Documentation

◆ V8_PROMISE_INTERNAL_FIELD_COUNT

#define V8_PROMISE_INTERNAL_FIELD_COUNT   0

Definition at line 18 of file v8-promise.h.