codesamplex

Exemple

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

Cas

Objectif
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
Paquets
tokio 1.53.1
Environnement
rust 1
Créé
2026-08-14T12:58:22Z

Contrat

Fichiers

Seeder d'origine

anonymous

Reçus de vérification