Михаил Капелько 9 months ago
parent
commit
b5b70bbdc7
2 changed files with 5 additions and 4 deletions
  1. +3
    -2
      Modules/MicX/Mic/Mic.yml
  2. +2
    -2
      Modules/MicX/Mic/src/Mic.Generated.swift

+ 3
- 2
Modules/MicX/Mic/Mic.yml View File

@@ -7,8 +7,9 @@ model:


service: service:
actions: actions:
shouldDeliverActivityDates: Bus.deliver(K.activityDate, v)
shouldResetActivityDates: Bus.send(K.activityDates, v)
shouldDeliverActivityDates: Bus.deliver(K.activityDate, v);/**/print("ИГР Mic.shouldDAD:'\(v)'")
shouldResetActivityDates: Bus.send(K.activityDates, v);/**/print("ИГР Mic.shouldRAD:'\(v)'")

pipes: pipes:
activeIds: [recent, K.activeIds] activeIds: [recent, K.activeIds]
activityDates: [recent, K.activityDates] activityDates: [recent, K.activityDates]


+ 2
- 2
Modules/MicX/Mic/src/Mic.Generated.swift View File

@@ -83,12 +83,12 @@ extension Mic {
ctrl.m ctrl.m
.compactMap { shouldDeliverActivityDates($0) } .compactMap { shouldDeliverActivityDates($0) }
.receive(on: DispatchQueue.main) .receive(on: DispatchQueue.main)
.sink { v in Bus.deliver(K.activityDate, v) }
.sink { v in Bus.deliver(K.activityDate, v);/**/print("ИГР Mic.shouldDAD:'\(v)'") }
.store(in: &service.subscriptions) .store(in: &service.subscriptions)
ctrl.m ctrl.m
.compactMap { shouldResetActivityDates($0) } .compactMap { shouldResetActivityDates($0) }
.receive(on: DispatchQueue.main) .receive(on: DispatchQueue.main)
.sink { v in Bus.send(K.activityDates, v) }
.sink { v in Bus.send(K.activityDates, v);/**/print("ИГР Mic.shouldRAD:'\(v)'") }
.store(in: &service.subscriptions) .store(in: &service.subscriptions)






Loading…
Cancel
Save