Skip to content

Commit

Permalink
lint fixes. Use inhouse mergeStreams
Browse files Browse the repository at this point in the history
  • Loading branch information
stevensJourney committed Oct 30, 2024
1 parent fa49b64 commit bf8cd83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions packages/powersync/lib/src/streaming_sync.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import 'dart:async';
import 'dart:convert' as convert;

import 'package:async/async.dart';
import 'package:http/http.dart' as http;
import 'package:powersync/src/abort_controller.dart';
import 'package:powersync/src/exceptions.dart';
Expand Down Expand Up @@ -171,7 +170,7 @@ class StreamingSyncImplementation {
// This has the potential (in rare cases) to affect the crudThrottleTime,
// but it should not result in excessive uploads since the
// sync reconnects are also throttled.
await for (var _ in StreamGroup.merge(
await for (var _ in mergeStreams(
[crudUpdateTriggerStream, _internalCrudTriggerController.stream])) {
if (_abort?.aborted == true) {
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class TestHttpServerHelper {
});
});

_server = await io.serve(router, 'localhost', 0);
_server = await io.serve(router.call, 'localhost', 0);
print('Test server running at ${_server.address}:${_server.port}');
}

Expand Down

0 comments on commit bf8cd83

Please sign in to comment.