X Tutup
Skip to content

Commit fb3fe84

Browse files
committed
4.4 English syntax
1 parent 257544a commit fb3fe84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Part 4 - Concurrency/4. Backpressure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Here, the producer has its values ready and can emit them with no delay. The con
2222

2323
But this is only for synchronous execution. It is very common for the producer and the consumer to be asynchronous So, what happens when a producer and a consumer operate asynchronously at different speeds?
2424

25-
Let's first consider the traditional pull-based model, such as an iterator. In a pull-based model, the consumer requests the values. If the producer is slower, the consumer will block on request and resume when the next value arrives. If the procuder is faster, then it will have idle time waiting for the consumer request the next value.
25+
Let's first consider the traditional pull-based model, such as an iterator. In a pull-based model, the consumer requests the values. If the producer is slower, the consumer will block on request and resume when the next value arrives. If the procuder is faster, then the producer will have idle time waiting for the consumer to request the next value.
2626

2727
Rx push-based, not pull-based. In Rx it is the producer that pushes values to the consumer when the values are ready. If the producer is slower, then the consumer will have idle time waiting for the next value to arrive. If producer is faster, without any provisions, it will keep force-feeding data to consumer without ever knowing about the consumer's difficulties.
2828

0 commit comments

Comments
 (0)
X Tutup