From 8f0d2b8c5f7971384cbe1d2d3ab3965e7ccc4687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=9A=D0=B0=D0=BF?= =?UTF-8?q?=D0=B5=D0=BB=D1=8C=D0=BA=D0=BE?= Date: Sun, 31 Dec 2023 20:05:36 +0300 Subject: [PATCH] d --- Modules/BusX/Bus/src/Bus.Debounce.swift | 2 +- Modules/BusX/Bus/src/Bus.Delay.swift | 2 +- Modules/BusX/Bus/src/Bus.Sync.swift | 2 +- Modules/MeetupIdX/src/MeetupId.V.swift | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) 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() { }