This commit is contained in:
Михаил Капелько
2023-12-31 20:05:36 +03:00
parent 2df3868836
commit 8f0d2b8c5f
4 changed files with 6 additions and 6 deletions

View File

@@ -5,7 +5,7 @@ public extension Bus {
let v = PassthroughSubject<Src, Never>()
var subscriptions = [AnyCancellable]()
init(
public init(
_ handler: @escaping ((Src) -> Dst?),
_ sec: Double,
_ src: String,

View File

@@ -5,7 +5,7 @@ public extension Bus {
let v = PassthroughSubject<Src, Never>()
var subscriptions = [AnyCancellable]()
init(
public init(
_ handler: @escaping ((Src) -> Dst?),
_ sec: Double,
_ src: String,

View File

@@ -5,7 +5,7 @@ public extension Bus {
let v = PassthroughSubject<Src, Never>()
var subscriptions = [AnyCancellable]()
init(
public init(
_ handler: @escaping ((Src) -> Dst?),
_ src: String,
_ dst: String

View File

@@ -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() { }