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