Skip to content

Tokio feature to use tokio::time::Instant #48

Description

@stormshield-gt

tokio allows to make deterministic tests that don't depend on real time, by using the start_paused option of the tokio::test attribute.

For that, tokio::time::Instant must be used everywhere. Would you consider a tokio feature that uses the Tokio Instant instead of the one from std?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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