Skip to content

Commit 52016db

Browse files
committed
fix doc terminology
1 parent 5bd8c11 commit 52016db

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docs/content/library/AsyncSeq.fsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,9 @@ in a blocking manner.
144144
### Comparison with IObservable<'a>
145145
146146
Both `IObservable<'a>` and `AsyncSeq<'a>` represent collections of items and both provide similar operations
147-
for transformation and composition. The central difference between the two is that the former used a *synchronous push*
148-
and the latter uses an *asynchronous pull*. Consumers of an `IObservable<'a>` *subscribe* to receive notifications about
147+
for transformation and composition. The central difference between the two is that the former uses a *synchronous push*
148+
to a subscriber and the latter uses an *asynchronous pull* by a consumer.
149+
Consumers of an `IObservable<'a>` *subscribe* to receive notifications about
149150
new items or the end of the sequence. By contrast, consumers of an `AsyncSeq<'a>` *asynchronously retrieve* subsequent items on their own
150151
terms. Some domains are more naturally modeled with one or the other, however it is less clear which is a more
151152
suitable tool for a specific task. In many cases, a combination of the two provides the optimal solution and

0 commit comments

Comments
 (0)