d
This commit is contained in:
@@ -9,7 +9,6 @@ model:
|
||||
service:
|
||||
actions:
|
||||
busModel
|
||||
🚀shouldResetLoading: Bus.send(K.isLoading, v)
|
||||
pipes:
|
||||
finishLoading: [toggle, K.finishLoading]
|
||||
isLoading: [recent, K.isLoading]
|
||||
|
||||
@@ -85,10 +85,6 @@ extension MeetupId {
|
||||
ctrl.m
|
||||
.sink { v in Bus.send("MeetupId", v) }
|
||||
.store(in: &service.subscriptions)
|
||||
ctrl.m
|
||||
.compactMap { shouldResetLoading($0) }
|
||||
.sink { v in Bus.send(K.isLoading, v) }
|
||||
.store(in: &service.subscriptions)
|
||||
|
||||
|
||||
// MARK: - SectionGenerated Service Pipes
|
||||
|
||||
@@ -8,9 +8,11 @@ extension MeetupId {
|
||||
@StateObject var join = BusUI.Button(K.join)
|
||||
@StateObject var textField = BusUI.TextField(K.textApp, K.textUI)
|
||||
let processors: [Any] = [
|
||||
Bus.Sync(shouldEnableJoin, K.M, K.isJoinAvailable),
|
||||
Bus.Debounce(formatId, 0.2, K.textUI, K.textApp),
|
||||
Bus.Delay(finishLoading, 5, K.isLoading, K.finishLoading),
|
||||
Bus.Sync(shouldEnableJoin, K.M, K.isJoinAvailable),
|
||||
Bus.Sync(shouldResetLoading, K.M, K.isLoading)
|
||||
//🚀shouldResetLoading: Bus.send(K.isLoading, v)
|
||||
]
|
||||
|
||||
public init() { }
|
||||
|
||||
Reference in New Issue
Block a user