squidowl / halloy

IRC application written in Rust
GNU General Public License v3.0
1.68k stars 66 forks source link

rfc: remove `.tick()` methods #631

Open 4e554c4c opened 1 month ago

4e554c4c commented 1 month ago

I think the .tick() messages are an anti-pattern, and have removed a few already (in the dashboard).

Almost all of these are used to wait for a specific amount of time to pass, which would be better served by returning a timeout event and receiving a callback.