We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd3eca8 commit 228fa2bCopy full SHA for 228fa2b
src/Std/Sync/Channel.lean
@@ -581,7 +581,7 @@ private partial def recvSelector (ch : Bounded α) : Selector (Option α) where
581
582
set { st with consumers }
583
where
584
- registerAux (ch : Bounded α) (waiter : Waiter (Option α)) : Async Unit := do
+ registerAux (ch : Bounded α) (waiter : Waiter (Option α)) : IO Unit := do
585
ch.state.atomically do
586
-- We did drop the lock between `tryFn` and now so maybe ready?
587
if ← recvReady' then
0 commit comments