mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-24 02:30:13 +00:00
Remove obsolete 1.x APIs
This commit is contained in:
@@ -161,17 +161,5 @@ namespace Microsoft.AspNetCore.NodeServices
|
||||
{
|
||||
return _nodeInstanceFactory();
|
||||
}
|
||||
|
||||
// Obsolete method - will be removed soon
|
||||
public Task<T> Invoke<T>(string moduleName, params object[] args)
|
||||
{
|
||||
return InvokeAsync<T>(moduleName, args);
|
||||
}
|
||||
|
||||
// Obsolete method - will be removed soon
|
||||
public Task<T> InvokeExport<T>(string moduleName, string exportedFunctionName, params object[] args)
|
||||
{
|
||||
return InvokeExportAsync<T>(moduleName, exportedFunctionName, args);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user