Closed
Description
Description
Async.StartWithContinuations call is blocked when using AsyncSeq.BufferByCountAndTime in async operation.
Repro steps
let op =
asyncSeq{
while true do
do! Async.Sleep 1000
yield 0
}
|> AsyncSeq.bufferByCountAndTime 10 1000
|> AsyncSeq.iter (printf "%A ")
let cts = new System.Threading.CancellationTokenSource()
Async.StartWithContinuations(op, ignore, ignore, ignore, cts.Token)
Expected behavior
Async.StartWithContinuations call is returned
Actual behavior
Async.StartWithContinuations call blocks thread.
Known workarounds
Related information
- Windows 10
- FSharp.Control.AsyncSeq (2.0.11)
Metadata
Metadata
Assignees
Labels
No labels