tjanczuk / edge

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

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

Closed junbao520 closed 5 months ago

junbao520 commented 4 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 5 months ago

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