| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -111,8 +111,8 @@ There are environments in which Node.js addons may need to be loaded multiple | |||
| 111 | 111 | times in multiple contexts. For example, the [Electron][] runtime runs multiple | |
| 112 | 112 | instances of Node.js in a single process. Each instance will have its own | |
| 113 | 113 | `require()` cache, and thus each instance will need a native addon to behave | |
| 114 | - correctly when loaded via `require()`. From the addon's perspective, this means | ||
| 115 | - that it must support multiple initializations. | ||
| 114 | + correctly when loaded via `require()`. This means that the addon | ||
| 115 | + must support multiple initializations. | ||
| 116 | 116 | ||
| 117 | 117 | A context-aware addon can be constructed by using the macro | |
| 118 | 118 | `NODE_MODULE_INITIALIZER`, which expands to the name of a function which Node.js | |
| Back | FazBrowse Home | New Git URL |
0 commit comments