Skip to content

Commit c61f65a

Browse files
committed
Add note about using observe most of the time
1 parent 7e078a6 commit c61f65a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ most.fromEvent('mousemove', document)
708708
####`stream.drain() -> Promise`
709709
####`most.drain(stream) -> Promise`
710710

711-
Start consuming events from `stream`. This can be useful in some cases where you don't want or need to process the terminal events--e.g. when all processing has been done via upstream side-effects.
711+
Start consuming events from `stream`. This can be useful in some cases where you don't want or need to process the terminal events--e.g. when all processing has been done via upstream side-effects. Most times, however, you'll use [`observe`](#forEach) to consume *and process* terminal events.
712712

713713
The returned promise will fulfill after all the events have been consumed, or will reject if the stream fails and the [error is not handled](#handlingerrors).
714714

0 commit comments

Comments
 (0)