Skip to content

1.0.0 EventLimiter

Compare
Choose a tag to compare
@baekteun baekteun released this 19 Jun 03:46
· 10 commits to master since this release

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