Skip to content

Commit 373f092

Browse files
committed
fix docs
1 parent 869a24d commit 373f092

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

docs/AsyncSeq.fsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ An asynchronous sequence is a sequence in which individual elements are _awaited
3131
3232
The `FSharp.Control.AsyncSeq` library is an implementation of functional asynchronous sequences for F#. The central type of the library is `AsyncSeq<'T>` and is a type alias for `System.Collections.Generic.IAsyncEnumerable<'T>`.
3333
34-
This library was also [one of the world's first implementations of asynchronous sequences](http://tomasp.net/blog/async-sequences.aspx) and has been used in production for many years. It is a mature library with a rich set of operations defined on `AsyncSeq` and is widely used in the F# community.
34+
This library was also [one of the world's first implementations of asynchronous sequences](http://tomasp.net/blog/async-sequences.aspx) with integrated language support through computation expressions and has been used in production for many years. It is a mature library with a rich set of operations and is widely used in the F# community.
3535
3636
To use the library, referrence the NuGet package `FSharp.Control.AsyncSeq` in your project and open the `FSharp.Control` namespace:
3737
*)
@@ -135,6 +135,12 @@ composed using familiar operations on sequences. Furthermore, it will be execute
135135
*)
136136

137137
(**
138+
### Comparison with `FSharp.Control.TaskSeq`
139+
140+
A related library is [`FSharp.Control.TaskSeq`](https://github.com/fsprojects/FSharp.Control.TaskSeq/) which provides a similar API for sequences of `Task<'T>` instead of `Async<'T>`. The two libraries are very similar and the choice between them is mostly a matter of preference or performance. The `AsyncSeq` library integrates well with the F# `Async` type, while the `TaskSeq` library is more performant and integrates well with the .NET `Task` type.
141+
142+
Both libraries implement that .NET standard `IAsyncEnumerable<'T>` interface, so they can be used interchangeably in most scenarios.
143+
138144
### Comparison with seq<'T>
139145
140146
The central difference between `seq<'T>` and `AsyncSeq<'T>` can be illustrated by introducing the notion of time.

0 commit comments

Comments
 (0)