This commit is contained in:
problematicconsumer
2023-12-28 10:43:57 +03:30
parent 3712c50c4e
commit 65847d3ea3
5 changed files with 4 additions and 16 deletions

View File

@@ -29,15 +29,7 @@ class PlatformSingboxService with InfraLogger implements SingboxService {
final alerts =
_alertsChannel.receiveBroadcastStream().map(SingboxStatus.fromEvent);
loggy.debug("[TLOG] Status first recieved");
final _2 = await alerts.first;
loggy.debug("[TLOG] alert First recieved");
final _1 = await status.first;
loggy.debug("[TLOG] Waiting for first entry");
_status = ValueConnectableStream(Rx.merge([status, alerts])).autoConnect();
await _status.first;
}