You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/FSharp.Control.AsyncSeq/AsyncSeq.fs
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1986,6 +1986,7 @@ module AsyncSeq =
1986
1986
toAsyncSeqImpl s.tail.Value
1987
1987
1988
1988
1989
+
[<CompilerMessage("The result of groupByAsync must be consumed with a parallel combinator such as AsyncSeq.mapAsyncParallel. Sequential consumption will deadlock because sub-sequence completion depends on other sub-sequences being consumed concurrently.",9999)>]
[<CompilerMessage("The result of groupBy must be consumed with a parallel combinator such as AsyncSeq.mapAsyncParallel. Sequential consumption will deadlock because sub-sequence completion depends on other sub-sequences being consumed concurrently.",9999)>]
Copy file name to clipboardExpand all lines: src/FSharp.Control.AsyncSeq/AsyncSeq.fsi
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -565,13 +565,15 @@ module AsyncSeq =
565
565
///
566
566
/// Note that the resulting async sequence has to be processed in parallel (e.g AsyncSeq.mapAsyncParallel) becaused
567
567
/// completion of sub-sequences depends on completion of other sub-sequences.
568
+
[<CompilerMessage("The result of groupByAsync must be consumed with a parallel combinator such as AsyncSeq.mapAsyncParallel. Sequential consumption will deadlock because sub-sequence completion depends on other sub-sequences being consumed concurrently.", 9999)>]
568
569
val groupByAsync<'T, 'Key when 'Key : equality>: projection:('T -> Async<'Key>)-> source:AsyncSeq<'T>-> AsyncSeq<'Key * AsyncSeq<'T>>
569
570
570
571
/// Applies a key-generating function to each element and returns an async sequence containing unique keys
571
572
/// and async sequences containing elements corresponding to the key.
572
573
///
573
574
/// Note that the resulting async sequence has to be processed in parallel (e.g AsyncSeq.mapAsyncParallel) becaused
574
575
/// completion of sub-sequences depends on completion of other sub-sequences.
576
+
[<CompilerMessage("The result of groupBy must be consumed with a parallel combinator such as AsyncSeq.mapAsyncParallel. Sequential consumption will deadlock because sub-sequence completion depends on other sub-sequences being consumed concurrently.", 9999)>]
575
577
val groupBy<'T, 'Key when 'Key : equality>: projection:('T -> 'Key)-> source:AsyncSeq<'T>-> AsyncSeq<'Key * AsyncSeq<'T>>
0 commit comments