mirror of
https://github.com/status-im/nim-chronos.git
synced 2025-01-23 09:48:54 +00:00
8580b50ae1
Previous version of virtual timer used minimal modifications. This one instead implements poll() directly, simplifying execution. It also enforces one timer each poll, which makes it compatible with one network even per poll cycle when network events are replaced by timers for simulation. Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>