File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -144,8 +144,9 @@ in a blocking manner.
144144### Comparison with IObservable<'a>
145145
146146Both ` 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
149150new items or the end of the sequence. By contrast, consumers of an ` AsyncSeq<'a> ` * asynchronously retrieve* subsequent items on their own
150151terms. Some domains are more naturally modeled with one or the other, however it is less clear which is a more
151152suitable tool for a specific task. In many cases, a combination of the two provides the optimal solution and
You can’t perform that action at this time.
0 commit comments