@@ -353,7 +353,7 @@ public async Task<bool> ConnectAsync(Uri uri, bool connectAutomatically = true,
353
353
_hubConnection = builder . Build ( ) ;
354
354
355
355
HubConnection . On < int , string > ( "JS.AttachComponent" , OnAttachComponent ) ;
356
- HubConnection . On < int , string , string > ( "JS.BeginInvokeJS" , OnBeginInvokeJS ) ;
356
+ HubConnection . On < int , string , string , int , long > ( "JS.BeginInvokeJS" , OnBeginInvokeJS ) ;
357
357
HubConnection . On < string > ( "JS.EndInvokeDotNet" , OnEndInvokeDotNet ) ;
358
358
HubConnection . On < int , byte [ ] > ( "JS.RenderBatch" , OnRenderBatch ) ;
359
359
HubConnection . On < string > ( "JS.Error" , OnError ) ;
@@ -401,9 +401,9 @@ private void OnAttachComponent(int componentId, string domSelector)
401
401
NextAttachComponentReceived ? . Completion ? . TrySetResult ( call ) ;
402
402
}
403
403
404
- private void OnBeginInvokeJS ( int asyncHandle , string identifier , string argsJson )
404
+ private void OnBeginInvokeJS ( int asyncHandle , string identifier , string argsJson , int resultType , long targetInstanceId )
405
405
{
406
- var call = new CapturedJSInteropCall ( asyncHandle , identifier , argsJson ) ;
406
+ var call = new CapturedJSInteropCall ( asyncHandle , identifier , argsJson , resultType , targetInstanceId ) ;
407
407
Operations ? . JSInteropCalls . Enqueue ( call ) ;
408
408
JSInterop ? . Invoke ( call ) ;
409
409
0 commit comments