File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 11import 'dart:async' ;
22import 'dart:convert' as convert;
33
4- import 'package:async/async.dart' ;
54import 'package:http/http.dart' as http;
65import 'package:powersync/src/abort_controller.dart' ;
76import 'package:powersync/src/exceptions.dart' ;
@@ -171,7 +170,7 @@ class StreamingSyncImplementation {
171170 // This has the potential (in rare cases) to affect the crudThrottleTime,
172171 // but it should not result in excessive uploads since the
173172 // sync reconnects are also throttled.
174- await for (var _ in StreamGroup . merge (
173+ await for (var _ in mergeStreams (
175174 [crudUpdateTriggerStream, _internalCrudTriggerController.stream])) {
176175 if (_abort? .aborted == true ) {
177176 break ;
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ class TestHttpServerHelper {
3131 });
3232 });
3333
34- _server = await io.serve (router, 'localhost' , 0 );
34+ _server = await io.serve (router.call , 'localhost' , 0 );
3535 print ('Test server running at ${_server .address }:${_server .port }' );
3636 }
3737
You can’t perform that action at this time.
0 commit comments