What is GetLinkedBinding (and its derivatives--process._linkedBinding) purpose? #53620
-
Line 647 in 764b13d What is the purpose of the above function? Is it for loading user-defined NAPI modules? |
Beta Was this translation helpful? Give feedback.
Answered by
mateuspaulino
Jul 23, 2024
Replies: 2 comments 6 replies
-
Hey @anonhostpi, |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
anonhostpi
-
This seems to be solved. I’m closing this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @anonhostpi,
So, the function
void GetLinkedBinding(const FunctionCallbackInfo<Value>& args)
is a callback function used in a Node.js native addon. This is not for NAPI, the function is typically used to handle calls from JavaScript to native code