Skip to content

Commit

Permalink
Add documentation for Env().
Browse files Browse the repository at this point in the history
PR-URL: #318
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@NickNaso.local>
  • Loading branch information
rolftimmermans authored and mhdawson committed Sep 6, 2018
1 parent a6f7a6a commit a3951ab
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/promises.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ Promise::Deferred(napi_env env);

* `[in] env`: The `napi_env` environment in which to construct the Deferred object.

### Env

```cpp
Napi::Env Env() const;
```

Returns the Env environment this Promise::Deferred object is associated with.

### Promise

```cpp
Expand Down

0 comments on commit a3951ab

Please sign in to comment.