zorael / kameloso

IRC bot with Twitch support
Boost Software License 1.0
9 stars 3 forks source link

timers-ng2 #155

Closed zorael closed 1 year ago

zorael commented 1 year ago

This reworks Timers to be less reliant on closures within Fibers.

Among other effects this allows us to inspect active Timers, and as such the Fiber triggering Timers' Fibers can now tell if a Timer is ready to fire, instead of just invoking its Fiber and letting it decide.

Old timers.json should still be compatible.