Skip to content

[IDLE-000] 이벤트 방출 오퍼레이터 수정버전 #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Sep 12, 2024
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,14 @@ open class BaseViewModel {
return bars
}
.flatMap { bars in
Observable.from(bars)
Observable
.from(bars)
.concatMap { ro in
Observable
.just(ro)
.delay(.milliseconds(350), scheduler: MainScheduler.instance)
}
}
.debounce(.milliseconds(350), scheduler: MainScheduler.asyncInstance)
.bind(to: snackBar)
.disposed(by: disposeBag)
}
Expand Down
Loading