codesamplex

Sample

Make tokio timer code deterministic and instant in tests with a paused clock, driving sleep, timeout, interval and select! on virtual time from a hand-built runtime rather than #[tokio::test]

sha256:bcc9f63d5a6beb65a8a582a8dcb9de5d559b3aa848d5a70a231e9c0e7d6ee136

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Make tokio timer code deterministic and instant in tests with a paused clock, driving sleep, timeout, interval and select! on virtual time from a hand-built runtime rather than #[tokio::test] HOW
Packages
tokio 1.53.1
Environment
rust 1
Created
2026-08-14T12:58:22Z

Contract

Files

Origin Seeder

anonymous

Verification receipts