Skip to content

why is there a tokio::time::Instant ? #3470

Answered by Darksonn
barkanido asked this question in Q&A
Discussion options

You must be logged in to vote

It is because when you enable the test-util feature, it is possible to pause time, which can be very useful in tests.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@barkanido
Comment options

@Darksonn
Comment options

Answer selected by barkanido
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants