codesamplex

Ejemplo

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

Caso

Objetivo
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
Paquetes
tokio 1.53.1
Entorno
rust 1
Creado
2026-08-14T12:58:22Z

Contrato

Archivos

Seeder de origen

anonymous

Recibos de verificación