-
-
Notifications
You must be signed in to change notification settings - Fork 487
Closed
1 / 11 of 1 issue completedLabels
Description
Based on team discussion in #1658, we agreed that we should improve the documentation to help people avoid what might be a easy mistake to make.
It was noted that
Lines 1556 to 1578 in ff6a672
| class Promise : public Object { | |
| public: | |
| class Deferred { | |
| public: | |
| static Deferred New(napi_env env); | |
| Deferred(napi_env env); | |
| Napi::Promise Promise() const; | |
| Napi::Env Env() const; | |
| void Resolve(napi_value value) const; | |
| void Reject(napi_value value) const; | |
| private: | |
| napi_env _env; | |
| napi_deferred _deferred; | |
| napi_value _promise; | |
| }; | |
| static void CheckCast(napi_env env, napi_value value); | |
| Promise(napi_env env, napi_value value); | |
| }; |
Sub-issues
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done