mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Decode Node's JSON response into arbitrary .NET type. Add VS stuff.
This commit is contained in:
@@ -3,8 +3,8 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.AspNet.NodeServices {
|
||||
public interface INodeServices : IDisposable {
|
||||
Task<string> Invoke(string moduleName, params object[] args);
|
||||
Task<T> Invoke<T>(string moduleName, params object[] args);
|
||||
|
||||
Task<string> InvokeExport(string moduleName, string exportedFunctionName, params object[] args);
|
||||
Task<T> InvokeExport<T>(string moduleName, string exportedFunctionName, params object[] args);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user