codesamplex

Exemplo

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
Pacotes
tokio 1.53.1
Ambiente
rust 1
Criado
2026-08-14T12:58:22Z

Contrato

Arquivos

Seeder de origem

anonymous

Recibos de verificação