Skip to content

Commit

Permalink
chore: 0th interval
Browse files Browse the repository at this point in the history
  • Loading branch information
hargoniX committed Jan 2, 2025
1 parent a85bdd4 commit 4199e25
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/lean/run/async_sleep.lean
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ def sequentialSleep : IO Unit := do
where
go : IO (AsyncTask Unit) := do
let t ← Interval.mk 10
-- 0th interval ticks instantly
(← t.tick).bindIO fun _ => do
(← t.tick).bindIO fun _ => do
(← t.tick).mapIO fun _ => ()

Expand Down

0 comments on commit 4199e25

Please sign in to comment.