You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(async): deadline waits, periodic ticks and immediate permit acquisition #172
Coordinated with FastLED/cli#239. FastLED still directly uses Tokio absolute timer waits, a 100ms periodic viewer-liveness tick, and non-waiting semaphore acquisition for its bounded test-sleep endpoint.
Add concrete facade operations to existing async_engine: sleep_until(Deadline), an owned periodic timer with explicit immediate-first-tick / burst catch-up semantics preserving existing client behavior, and Semaphore::try_acquire returning an owned permit or None without waiting. Reject a zero timer period explicitly. Preserve cancellation safety: dropping a pending tick must not consume a tick, and dropping a permit restores shared capacity. No new runtime, background thread, queue or dependency is required. Keep timer/permit backend types private.
Activity
zackees commentedon Sep 16, 2026
Complete and adopted; closing with the evidence rather than leaving it open.
kernal-api — landed in
d738d42, withtests/async_timers_permits.rs. Verified present onmainrather than inferred from the commit message alone.FastLED — the kernel async surface the application builds on.
🤖 Generated with Claude Code