codesamplex

サンプル

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

ケース

ゴール
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
パッケージ
tokio 1.53.1
環境
rust 1
作成日
2026-08-14T12:58:22Z

コントラクト

ファイル

オリジンシーダー

anonymous

検証レシート