Skip to content

Commit 4cd377b

Browse files
authored
Update AsyncSeq.fs
1 parent 000f18b commit 4cd377b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/FSharp.Control.AsyncSeq/AsyncSeq.fs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1414,6 +1414,7 @@ module AsyncSeq =
14141414
if (buffer.Count > 0) then
14151415
yield buffer.ToArray() }
14161416

1417+
#if !FABLE_COMPILER
14171418
let toSortedSeq fn source =
14181419
toArrayAsync source |> Async.map fn |> Async.RunSynchronously
14191420

@@ -1428,6 +1429,7 @@ module AsyncSeq =
14281429

14291430
let sortByDescending (projection:'T -> 'Key) (source:AsyncSeq<'T>) : array<'T> when 'Key : comparison =
14301431
toSortedSeq (Array.sortByDescending projection) source
1432+
#endif
14311433

14321434
#if !FABLE_COMPILER
14331435
let bufferByCountAndTime (bufferSize:int) (timeoutMs:int) (source:AsyncSeq<'T>) : AsyncSeq<'T[]> =

0 commit comments

Comments
 (0)