diff --git a/docs/stream.md b/docs/stream.md index 34818e12..0f5bea9e 100644 --- a/docs/stream.md +++ b/docs/stream.md @@ -384,7 +384,7 @@ var added = stream.combine(function(a, b) { console.log(added()) // logs 12 ``` -A stream can depend on any number of streams and it's guaranteed to update atomically. For example, if a stream A has two dependent streams B and C, and a fourth stream D is dependent on both B and C, the stream D will only update once if the value of A changes. This guarantees that the callback for stream D is never called with unstable values such as when B has a new value but C has the old value. Atomicity also bring the performance benefits of not recomputing downstreams unnecessarily. +A stream can depend on any number of streams and it's guaranteed to update atomically. For example, if a stream A has two dependent streams B and C, and a fourth stream D is dependent on both B and C, the stream D will only update once if the value of A changes. This guarantees that the callback for stream D is never called with unstable values such as when B has a new value but C has the old value. Atomicity also brings the performance benefits of not recomputing downstreams unnecessarily. You can prevent dependent streams from being updated by returning the special value `stream.HALT`