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
I am trialing this library as a replacement for a custom C#/njs embedding framework that we have in use right now. In order to work as a replacement, I need to both:
Call from C# into the embedded njs environment
Call from the embedded njs environment into C#
(Ideally with compile-time code generation)
I have managed to:
get calls from nodejs into C# via the NPM node-api-dotnet
get the embedded setup working (although the documentation is missing a few steps) calling C#->JS
But tossing nodejs.Import("node-api-dotnet") into a nodejs.Run throws exceptions.
Is bidirectional calling into/out of the embedded libnode possible? This is crucial for the project, so it will determine whether this library is viable for us.
The text was updated successfully, but these errors were encountered:
I am trialing this library as a replacement for a custom C#/njs embedding framework that we have in use right now. In order to work as a replacement, I need to both:
(Ideally with compile-time code generation)
I have managed to:
But tossing
nodejs.Import("node-api-dotnet")
into anodejs.Run
throws exceptions.Is bidirectional calling into/out of the embedded libnode possible? This is crucial for the project, so it will determine whether this library is viable for us.
The text was updated successfully, but these errors were encountered: