File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -525,14 +525,15 @@ export class DbConnectionImpl<
525
525
tableUpdates : TableUpdate [ ] ,
526
526
eventContext : EventContextInterface
527
527
) : PendingCallback [ ] {
528
- const pendingCallbacks : PendingCallback [ ] = [ ] ;
528
+ let pendingCallbacks : PendingCallback [ ] = [ ] ;
529
529
for ( let tableUpdate of tableUpdates ) {
530
530
// Get table information for the table being updated
531
531
const tableName = tableUpdate . tableName ;
532
532
const tableTypeInfo = this . #remoteModule. tables [ tableName ] ! ;
533
533
const table = this . clientCache . getOrCreateTable ( tableTypeInfo ) ;
534
- pendingCallbacks . push (
535
- ...table . applyOperations ( tableUpdate . operations , eventContext )
534
+
535
+ pendingCallbacks = pendingCallbacks . concat (
536
+ table . applyOperations ( tableUpdate . operations , eventContext )
536
537
) ;
537
538
}
538
539
return pendingCallbacks ;
You can’t perform that action at this time.
0 commit comments