@@ -5,7 +5,7 @@ public extension Bus { | |||||
let v = PassthroughSubject<Src, Never>() | let v = PassthroughSubject<Src, Never>() | ||||
var subscriptions = [AnyCancellable]() | var subscriptions = [AnyCancellable]() | ||||
init( | |||||
public init( | |||||
_ handler: @escaping ((Src) -> Dst?), | _ handler: @escaping ((Src) -> Dst?), | ||||
_ sec: Double, | _ sec: Double, | ||||
_ src: String, | _ src: String, | ||||
@@ -5,7 +5,7 @@ public extension Bus { | |||||
let v = PassthroughSubject<Src, Never>() | let v = PassthroughSubject<Src, Never>() | ||||
var subscriptions = [AnyCancellable]() | var subscriptions = [AnyCancellable]() | ||||
init( | |||||
public init( | |||||
_ handler: @escaping ((Src) -> Dst?), | _ handler: @escaping ((Src) -> Dst?), | ||||
_ sec: Double, | _ sec: Double, | ||||
_ src: String, | _ src: String, | ||||
@@ -5,7 +5,7 @@ public extension Bus { | |||||
let v = PassthroughSubject<Src, Never>() | let v = PassthroughSubject<Src, Never>() | ||||
var subscriptions = [AnyCancellable]() | var subscriptions = [AnyCancellable]() | ||||
init( | |||||
public init( | |||||
_ handler: @escaping ((Src) -> Dst?), | _ handler: @escaping ((Src) -> Dst?), | ||||
_ src: String, | _ src: String, | ||||
_ dst: String | _ dst: String | ||||
@@ -9,9 +9,9 @@ extension MeetupId { | |||||
@StateObject var textField = BusUI.TextField(K.textApp, K.textUI) | @StateObject var textField = BusUI.TextField(K.textApp, K.textUI) | ||||
let processors: [Any] = [ | let processors: [Any] = [ | ||||
Bus.Sync(shouldEnableJoin, K.M, K.isJoinAvailable), | Bus.Sync(shouldEnableJoin, K.M, K.isJoinAvailable), | ||||
MeetupId.Debounce(0.2, formatId, K.textUI, K.textApp), | |||||
MeetupId.Delay(5, finishLoading, K.isLoading, K.finishLoading), | |||||
] | |||||
Bus.Debounce(formatId, 0.2, K.textUI, K.textApp), | |||||
Bus.Delay(finishLoading, 5, K.isLoading, K.finishLoading), | |||||
] | |||||
public init() { } | public init() { } | ||||