Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- Thumbnail
- Subject
- subscriber
- publisher
- Filtering
- image
- DICTIONARY
- debounce
- collision
- document
- flatMapLatest
- CPU
- Throttle
- memory
- switchToLatest
- UINavigationController
- Hashtable
- SWIFT
- IOS
- countLimit
- totalCostLimit
- NSCache
- Subscription
- operator
- FlatMap
- Video
- LinearProbing
- combine
Archives
- Today
- Total
목록Throttle (1)
felix-iOS
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bSUf28/btq8SBStGou/Ti9uC3hT7Z3Sk7or1WQ6m0/img.png)
안녕하세요 🙇♂️ debounce와 throttle는 자주 사용해보셨을겁니다. 하지만 항상 헷갈리게 하는 분들이기 때문에 정리를 확실하게 해놓기 위해서 이번 게시글을 작성합니다. Debounce func debounce(for dueTime: S.SchedulerTimeType.Stride, scheduler: S, options: S.SchedulerOptions? = nil) -> Publishers.Debounce where S : Scheduler 이벤트 간에 지정된 시간이 경과된 후에만 요소를 게시합니다. 공식문서에 따르면 debounce operator를 사용하여 업스트림 publisher의 전송 간격과 개수를 제어합니다. 이 operator는 다운스트림에 전달되는 값의 수를 지정한 속도로 ..
Combine
2021. 7. 18. 17:47