Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@vmussak
Created January 14, 2019 21:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vmussak/250a282254488dccca47cfd8e65b5bd9 to your computer and use it in GitHub Desktop.
Save vmussak/250a282254488dccca47cfd8e65b5bd9 to your computer and use it in GitHub Desktop.
let edge = require('edge-js');
var soma = edge.func({
source: function () {/*
async (dynamic input) =>
{
var soma = new Matematica.OperacoesMatematicas().Soma(input.a, input.b);
return soma;
}
*/},
references: ["Matematica.dll"]
});
soma({a: 10, b: 30}, function (error, result) {
if (error) throw error;
console.log(result);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment