Михаил Капелько 10 months ago
parent
commit
16c798c31c
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      src/App.swift

+ 0
- 6
src/App.swift View File

@@ -63,21 +63,15 @@ class AppDelegate: UIResponder, UIApplicationDelegate


var subscriptions = [AnyCancellable]() 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)
} }


/*

DispatchQueue.main.asyncAfter(deadline: .now() + 5) { DispatchQueue.main.asyncAfter(deadline: .now() + 5) {
Bus.send(Bus.keyId(Mic.K.activityDate, id), Date() + 2) Bus.send(Bus.keyId(Mic.K.activityDate, id), Date() + 2)
} }
DispatchQueue.main.asyncAfter(deadline: .now() + 6) { DispatchQueue.main.asyncAfter(deadline: .now() + 6) {
Bus.send(Bus.keyId(Mic.K.activityDate, id), Date() + 3) Bus.send(Bus.keyId(Mic.K.activityDate, id), Date() + 3)
} }
*/
} }
} }

Loading…
Cancel
Save