Skip to content

TtlCache and testing #20

@vi

Description

@vi

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions