1.0.0 EventLimiter
EventLimiter
Simple classes for efficiently handling events.
QuickStart
let debouncer = Debouncer(for: 0.3)
debouncer {
self.search(keyword: keyword)
}
debouncer.cancel()
let throttler = Throttler(for: 1, latest: false)
throttler {
self.reachedBottom()
}
throttler.cancel()
Full Changelog: https://github.com/baekteun/EventLimiter/commits/1.0.0