@@ -48,14 +48,14 @@ public Task InvokeFromFileAsync(string modulePath, string exportName = null, obj
4848 return StaticNodeJSService . InvokeFromFileAsync ( modulePath , exportName , args , cancellationToken ) ;
4949 }
5050
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 )
5252 {
53- return StaticNodeJSService . InvokeFromStringAsync < T > ( moduleString , newCacheIdentifier , exportName , args , cancellationToken ) ;
53+ return StaticNodeJSService . InvokeFromStringAsync < T > ( moduleString , cacheIdentifier , exportName , args , cancellationToken ) ;
5454 }
5555
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 )
5757 {
58- return StaticNodeJSService . InvokeFromStringAsync ( moduleString , newCacheIdentifier , exportName , args , cancellationToken ) ;
58+ return StaticNodeJSService . InvokeFromStringAsync ( moduleString , cacheIdentifier , exportName , args , cancellationToken ) ;
5959 }
6060
6161 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
6868 return StaticNodeJSService . InvokeFromStringAsync ( moduleFactory , cacheIdentifier , exportName , args , cancellationToken ) ;
6969 }
7070
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 )
7272 {
73- return StaticNodeJSService . InvokeFromStreamAsync < T > ( moduleStream , newCacheIdentifier , exportName , args , cancellationToken ) ;
73+ return StaticNodeJSService . InvokeFromStreamAsync < T > ( moduleStream , cacheIdentifier , exportName , args , cancellationToken ) ;
7474 }
7575
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 )
7777 {
78- return StaticNodeJSService . InvokeFromStreamAsync ( moduleStream , newCacheIdentifier , exportName , args , cancellationToken ) ;
78+ return StaticNodeJSService . InvokeFromStreamAsync ( moduleStream , cacheIdentifier , exportName , args , cancellationToken ) ;
7979 }
8080
8181 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
9898 return StaticNodeJSService . TryInvokeFromCacheAsync ( moduleCacheIdentifier , exportName , args , cancellationToken ) ;
9999 }
100100
101+ public void MoveToNewProcess ( )
102+ {
103+ throw new NotSupportedException ( ) ;
104+ }
105+
101106 #region IDisposable implementation
102107
103108 public void Dispose ( )
0 commit comments