As far as I undestand, TtlCache use `std::time::{Duration, Instant}` without any indirection layer. This makes it trickier to [unit-]test the code without waiting. Shall there be some additional testing version of TtlCache that has overridable timer?
As far as I undestand, TtlCache use
std::time::{Duration, Instant}without any indirection layer.This makes it trickier to [unit-]test the code without waiting.
Shall there be some additional testing version of TtlCache that has overridable timer?