diff --git a/Modules/BusX/Bus/src/Bus.Debounce.swift b/Modules/BusX/Bus/src/Bus.Debounce.swift index a3e1215..8cd0030 100644 --- a/Modules/BusX/Bus/src/Bus.Debounce.swift +++ b/Modules/BusX/Bus/src/Bus.Debounce.swift @@ -5,7 +5,7 @@ public extension Bus { let v = PassthroughSubject() var subscriptions = [AnyCancellable]() - init( + public init( _ handler: @escaping ((Src) -> Dst?), _ sec: Double, _ src: String, diff --git a/Modules/BusX/Bus/src/Bus.Delay.swift b/Modules/BusX/Bus/src/Bus.Delay.swift index ba13d6a..cf37370 100644 --- a/Modules/BusX/Bus/src/Bus.Delay.swift +++ b/Modules/BusX/Bus/src/Bus.Delay.swift @@ -5,7 +5,7 @@ public extension Bus { let v = PassthroughSubject() var subscriptions = [AnyCancellable]() - init( + public init( _ handler: @escaping ((Src) -> Dst?), _ sec: Double, _ src: String, diff --git a/Modules/BusX/Bus/src/Bus.Sync.swift b/Modules/BusX/Bus/src/Bus.Sync.swift index 561b632..4e5b317 100644 --- a/Modules/BusX/Bus/src/Bus.Sync.swift +++ b/Modules/BusX/Bus/src/Bus.Sync.swift @@ -5,7 +5,7 @@ public extension Bus { let v = PassthroughSubject() var subscriptions = [AnyCancellable]() - init( + public init( _ handler: @escaping ((Src) -> Dst?), _ src: String, _ dst: String diff --git a/Modules/MeetupIdX/src/MeetupId.V.swift b/Modules/MeetupIdX/src/MeetupId.V.swift index 125e2ab..f9da4a4 100644 --- a/Modules/MeetupIdX/src/MeetupId.V.swift +++ b/Modules/MeetupIdX/src/MeetupId.V.swift @@ -9,9 +9,9 @@ extension MeetupId { @StateObject var textField = BusUI.TextField(K.textApp, K.textUI) let processors: [Any] = [ 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() { }