@@ -48,14 +48,14 @@ public Task InvokeFromFileAsync(string modulePath, string exportName = null, obj
48
48
return StaticNodeJSService . InvokeFromFileAsync ( modulePath , exportName , args , cancellationToken ) ;
49
49
}
50
50
51
- public Task < T > InvokeFromStringAsync < T > ( string moduleString , string newCacheIdentifier = null , string exportName = null , object [ ] args = null , CancellationToken cancellationToken = default )
51
+ public Task < T > InvokeFromStringAsync < T > ( string moduleString , string cacheIdentifier = null , string exportName = null , object [ ] args = null , CancellationToken cancellationToken = default )
52
52
{
53
- return StaticNodeJSService . InvokeFromStringAsync < T > ( moduleString , newCacheIdentifier , exportName , args , cancellationToken ) ;
53
+ return StaticNodeJSService . InvokeFromStringAsync < T > ( moduleString , cacheIdentifier , exportName , args , cancellationToken ) ;
54
54
}
55
55
56
- public Task InvokeFromStringAsync ( string moduleString , string newCacheIdentifier = null , string exportName = null , object [ ] args = null , CancellationToken cancellationToken = default )
56
+ public Task InvokeFromStringAsync ( string moduleString , string cacheIdentifier = null , string exportName = null , object [ ] args = null , CancellationToken cancellationToken = default )
57
57
{
58
- return StaticNodeJSService . InvokeFromStringAsync ( moduleString , newCacheIdentifier , exportName , args , cancellationToken ) ;
58
+ return StaticNodeJSService . InvokeFromStringAsync ( moduleString , cacheIdentifier , exportName , args , cancellationToken ) ;
59
59
}
60
60
61
61
public Task < T > InvokeFromStringAsync < T > ( Func < string > moduleFactory , string cacheIdentifier , string exportName = null , object [ ] args = null , CancellationToken cancellationToken = default )
@@ -68,14 +68,14 @@ public Task InvokeFromStringAsync(Func<string> moduleFactory, string cacheIdenti
68
68
return StaticNodeJSService . InvokeFromStringAsync ( moduleFactory , cacheIdentifier , exportName , args , cancellationToken ) ;
69
69
}
70
70
71
- public Task < T > InvokeFromStreamAsync < T > ( Stream moduleStream , string newCacheIdentifier = null , string exportName = null , object [ ] args = null , CancellationToken cancellationToken = default )
71
+ public Task < T > InvokeFromStreamAsync < T > ( Stream moduleStream , string cacheIdentifier = null , string exportName = null , object [ ] args = null , CancellationToken cancellationToken = default )
72
72
{
73
- return StaticNodeJSService . InvokeFromStreamAsync < T > ( moduleStream , newCacheIdentifier , exportName , args , cancellationToken ) ;
73
+ return StaticNodeJSService . InvokeFromStreamAsync < T > ( moduleStream , cacheIdentifier , exportName , args , cancellationToken ) ;
74
74
}
75
75
76
- public Task InvokeFromStreamAsync ( Stream moduleStream , string newCacheIdentifier = null , string exportName = null , object [ ] args = null , CancellationToken cancellationToken = default )
76
+ public Task InvokeFromStreamAsync ( Stream moduleStream , string cacheIdentifier = null , string exportName = null , object [ ] args = null , CancellationToken cancellationToken = default )
77
77
{
78
- return StaticNodeJSService . InvokeFromStreamAsync ( moduleStream , newCacheIdentifier , exportName , args , cancellationToken ) ;
78
+ return StaticNodeJSService . InvokeFromStreamAsync ( moduleStream , cacheIdentifier , exportName , args , cancellationToken ) ;
79
79
}
80
80
81
81
public Task < T > InvokeFromStreamAsync < T > ( Func < Stream > moduleFactory , string cacheIdentifier , string exportName = null , object [ ] args = null , CancellationToken cancellationToken = default )
@@ -98,6 +98,11 @@ public Task<bool> TryInvokeFromCacheAsync(string moduleCacheIdentifier, string e
98
98
return StaticNodeJSService . TryInvokeFromCacheAsync ( moduleCacheIdentifier , exportName , args , cancellationToken ) ;
99
99
}
100
100
101
+ public void MoveToNewProcess ( )
102
+ {
103
+ throw new NotSupportedException ( ) ;
104
+ }
105
+
101
106
#region IDisposable implementation
102
107
103
108
public void Dispose ( )
0 commit comments