Commit 78c8d58
docs: describe the Node-API host struct in HOW-IT-WORKS
Hermes implements both js_native_api.h and node_api.h; what it can't
supply without libuv are the scheduling primitives, which the host passes
in as a hermes_napi_host struct.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 3bacef6 commit 78c8d58
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | | - | |
51 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
52 | 58 | | |
53 | 59 | | |
54 | 60 | | |
| |||
0 commit comments