@@ -353,7 +353,7 @@ public async Task<bool> ConnectAsync(Uri uri, bool connectAutomatically = true,
353353 _hubConnection = builder . Build ( ) ;
354354
355355 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 ) ;
357357 HubConnection . On < string > ( "JS.EndInvokeDotNet" , OnEndInvokeDotNet ) ;
358358 HubConnection . On < int , byte [ ] > ( "JS.RenderBatch" , OnRenderBatch ) ;
359359 HubConnection . On < string > ( "JS.Error" , OnError ) ;
@@ -401,9 +401,9 @@ private void OnAttachComponent(int componentId, string domSelector)
401401 NextAttachComponentReceived ? . Completion ? . TrySetResult ( call ) ;
402402 }
403403
404- private void OnBeginInvokeJS ( int asyncHandle , string identifier , string argsJson )
404+ private void OnBeginInvokeJS ( int asyncHandle , string identifier , string argsJson , int resultType , long targetInstanceId )
405405 {
406- var call = new CapturedJSInteropCall ( asyncHandle , identifier , argsJson ) ;
406+ var call = new CapturedJSInteropCall ( asyncHandle , identifier , argsJson , resultType , targetInstanceId ) ;
407407 Operations ? . JSInteropCalls . Enqueue ( call ) ;
408408 JSInterop ? . Invoke ( call ) ;
409409
0 commit comments