-
Notifications
You must be signed in to change notification settings - Fork 0
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
[DA] 마감임박 타이머 만료시 이슈 대응 #191
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생했습니다!
.skip(1) | ||
.throttle(.milliseconds(500), scheduler: MainScheduler.instance) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
요거 궁금한건데 skip이 지정한 횟수만큼 skip를 하는거라고 본거같은데 이게 왜 필요할까요?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BehaviorRelay는 subscribe시 가지고 있는 값을 방출하는 Hot Observable입니다.
따라서 해당 이벤트를 무시하기 위해 .skip(1)
을 추가하였습니다.
자세한 내용은 아래 자료를 참고하시면 좋습니다. :)
https://okanghoon.medium.com/rxswift-2-observable-subject-relay-8fcd9b01913d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다 대장님👍
개요
변경사항
작업 내용
미리보기
작업 전
2022-08-26.1.10.30.mov
작업 후
2022-08-26.1.03.41.mov