mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Switch to using DI to acquire Node instances. Bump versions to alpha2.
This commit is contained in:
10
Microsoft.AspNet.NodeServices/INodeInstance.cs
Normal file
10
Microsoft.AspNet.NodeServices/INodeInstance.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Microsoft.AspNet.NodeServices {
|
||||
public interface INodeServices : IDisposable {
|
||||
Task<string> Invoke(string moduleName, params object[] args);
|
||||
|
||||
Task<string> InvokeExport(string moduleName, string exportedFunctionName, params object[] args);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user