From 59f1da6b871e2381ae033c2a3410a70cceaecc7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=9A=D0=B0=D0=BF?= =?UTF-8?q?=D0=B5=D0=BB=D1=8C=D0=BA=D0=BE?= Date: Thu, 18 Jan 2024 18:52:28 +0300 Subject: [PATCH] d --- src/App.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/App.swift b/src/App.swift index 932edbd..704d296 100644 --- a/src/App.swift +++ b/src/App.swift @@ -1,4 +1,5 @@ import BusX +import Combine import MeetupIdX import MicX import SwiftUI @@ -60,7 +61,11 @@ class AppDelegate: UIResponder, UIApplicationDelegate } } + var subscriptions = [AnyCancellable]() func testMic2_id(_ id: String) { + Bus.events + .sink { e in print("ИГР AppD.testM e: '\(e)'") } + .store(in: &subscriptions) DispatchQueue.main.asyncAfter(deadline: .now() + 2) { Bus.send(Bus.keyId(Mic.K.activityDate, id), Date() + 2) }