Skip to content

Commit 8d1fff2

Browse files
tag
1 parent 6c34dc4 commit 8d1fff2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Manual/IO/Async.lean‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@ def unregisterErrorCleansUp : Async Unit := do
10731073
There are two varieties of timer: _sleep timers_ allow a computation to wait one time for a given duration, while _interval timers_ provide an event repeatedly, separated by the duration.
10741074
Creating a timer does not start the countdown.
10751075
Timers begin running at the first call to {name}`Sleep.wait`, call to {name}`Interval.tick`, or the first selection in which they take part.
1076-
When a sleep timer loses a {ref "selection-protocol-race"}[race], it restarts in its next selection.
1076+
When a sleep timer loses a {ref "selector-protocol-race"}[race], it restarts in its next selection.
10771077
Stopping a timer with {name}`Sleep.stop` or {name}`Interval.stop` leaves any task that's awaiting the timer hanging forever.
10781078

10791079
```lean -show

0 commit comments

Comments
 (0)