Skip to content

Instantly share code, notes, and snippets.

@christopheranderson
Last active Nov 15, 2017
Embed
What would you like to do?
Why would I do this?
using System;
using System.Threading.Tasks;
using EdgeJs;
class Program
{
public static async Task Start()
{
var func = Edge.Func(@"
return function (data, callback) {
callback(null, '');
}
");
string str = await func());
}
static void Main(string[] args)
{
Start().Wait();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment