malcommac/Repeat
🕦 Modern Timer in Swift, Debouncer and Throttler (alternative to NSTimer) made with GCD observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3115
- days_rel: n/a
- days_push: 1820
- n_releases_24m: 0
Adoption not part of the score
1447 stars · 88 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Repeat is a lightweight Swift library providing a modern GCD-based alternative to NSTimer, with support for infinite, finite, and one-shot timers, multiple observers, and pause/resume control. It also includes a debouncer and throttler for rate-limiting function calls.
Use cases
- replace NSTimer with a modern Swift timer
- schedule a task to run every N seconds in Swift
- debounce user input events in an iOS app
- throttle API calls to once per interval
- run a repeating timer on a background thread
- create a one-shot delayed action in Swift
When to choose
- you need a timer without strong reference cycles or NSObject inheritance
- you want debounce/throttle utilities in Swift
- you need timers that work on background threads with multiple observers
When to avoid
- you need a maintained library with recent updates (last release 2021)
- you're targeting platforms outside Apple's ecosystem
- you can use Combine or async/await timers in modern Swift instead
Facets
library · maturity maintenance
scheduling concurrency developer-tools apple-ecosystem developer-tools timer nstimer-alternative gcd debouncer throttler swift automation ios macos
1 source
- readme: https://github.com/malcommac/Repeat · fetched 2026-08-28 · 16ac908236a5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| malcommac/Repeat | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="malcommac/Repeat")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem