update ios

This commit is contained in:
hiddify
2023-12-26 22:26:06 +03:30
parent 887b561c92
commit 38348feb25
13 changed files with 96 additions and 43 deletions

View File

@@ -28,7 +28,16 @@ class PlatformSingboxService with InfraLogger implements SingboxService {
_statusChannel.receiveBroadcastStream().map(SingboxStatus.fromEvent);
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;
}