Replies: 2 comments 1 reply
-
|
This is because As far as I understand, If we wanted to narrow the public API surface, I'd be open to converting from |
Beta Was this translation helpful? Give feedback.
-
Not without loosing precision in a way or another. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
is there a particular reason that
continuously_delete_expiredtakes core's Duration andExpiry::OnInactivitytakingtime::Duration?My example code:
In my opinion it would make more sense to take
core::time::Durationin the public API, because:timetime::Durationaccepts negative durations which wouldn't make sense in an expiry settingI haven't looked through the complete public API, but I'd suggest unifiying the Durations where it make sense.
Beta Was this translation helpful? Give feedback.
All reactions