tjanczuk / edge

Run .NET and Node.js code in-process on Windows, MacOS, and Linux
http://tjanczuk.github.io/edge
Other
5.41k stars 642 forks source link

There was an error when I ran demo code! #712

Closed junbao520 closed 1 month ago

junbao520 commented 3 years ago

There was an error when I ran this code! var edge = require('edge');

var helloWorld = edge.func(function () {/ async (input) => { return ".NET Welcomes " + input.ToString(); } /});

helloWorld('JavaScript', function (error, result) { if (error) throw error; console.log(result); });

agracio commented 1 month ago

If the issue is still relevant raise it in https://github.com/agracio/edge-js. However you would need to provide more details.