|
@@ -1,4 +1,5 @@ |
|
|
import BusX |
|
|
import BusX |
|
|
|
|
|
import Combine |
|
|
import MeetupIdX |
|
|
import MeetupIdX |
|
|
import MicX |
|
|
import MicX |
|
|
import SwiftUI |
|
|
import SwiftUI |
|
@@ -60,7 +61,11 @@ class AppDelegate: UIResponder, UIApplicationDelegate |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
var subscriptions = [AnyCancellable]() |
|
|
func testMic2_id(_ id: String) { |
|
|
func testMic2_id(_ id: String) { |
|
|
|
|
|
Bus.events |
|
|
|
|
|
.sink { e in print("ИГР AppD.testM e: '\(e)'") } |
|
|
|
|
|
.store(in: &subscriptions) |
|
|
DispatchQueue.main.asyncAfter(deadline: .now() + 2) { |
|
|
DispatchQueue.main.asyncAfter(deadline: .now() + 2) { |
|
|
Bus.send(Bus.keyId(Mic.K.activityDate, id), Date() + 2) |
|
|
Bus.send(Bus.keyId(Mic.K.activityDate, id), Date() + 2) |
|
|
} |
|
|
} |
|
|