You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- `[in] env`: The `napi_env` environment in which to construct the `Napi::Symbol` object.
54
-
- `[in] name`: The C++ string representing the `Napi::Symbol` to retrieve.
57
+
- `[in] description`: The C++ string representing the `Napi::Symbol` in the global registry to retrieve.
55
58
56
-
Register `Napi::Symbol` in the global registry. If symbol already exist retrieve said symbol. Equivalent to `Symbol.for("symb")` called from JS.
59
+
Searches in the global registry for existing symbol with the given name. If the symbol already exist it will be returned, otherwise a new symbol will be created in the registry. It's equivalent to Symbol.for() called from JavaScript.
0 commit comments