|
- import BusX
-
- extension MeetupId {
- enum SectionBus {
- static func setupService(
- _ ctrl: Controller,
- _ service: Service,
- _ world: World
- ) {
- service.any.append(contentsOf: [
-
- Bus.Debounce(shouldManyResetText, 0.2, K.M, K.textApp),
-
- Bus.Delay(shouldManyFinishLoading, 5, K.M, K.finishLoading),
-
- Bus.Sync(shouldManyJoin, K.M, K.isJoinAvailable),
-
- Bus.Sync(shouldManyResetLoading, K.M, K.isLoading),
-
- Bus.Debounce(shouldManyTestResetText, 0.2, K.M, K.testTextApp),
- ])
- }
- }
- }
|