-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Hi , it seems InvokeExportAsync method is not available .
I want to pass objects from js to c# .
any idea how to do that ?
maybe something like :
// JS exports objects , objects should be generic
var exports = new object[] { 0, 1, 2 }.ToList<object>;
static List<T> CreateList<T>(params T[] elements)
{
return new List<T>(elements);
}
var list = CreateList(0,1, 2);
Console.WriteLine($"{list.Count} elements")
var exports = await nodeServices.InvokeExportAsync<object[]> ("./exporter.js",something, params object[] args);
Metadata
Metadata
Assignees
Labels
No labels