Михаил Капелько 11 months ago
parent
commit
59f1da6b87
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      src/App.swift

+ 5
- 0
src/App.swift View File

@@ -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)
}


Loading…
Cancel
Save