Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
doc: add notes about non-confirming streams
  • Loading branch information
ronag committed Oct 9, 2019
commit 7ce445303706a79b58a0c7677ae9577ca0f0f4fa
6 changes: 6 additions & 0 deletions doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -1667,6 +1667,12 @@ of a stream that are intended for use by consumers (as described in the
[API for Stream Consumers][] section). Doing so may lead to adverse side effects
in application code consuming the stream.

It is highly discouraged to override any public method. As well as emitting
Comment thread
ronag marked this conversation as resolved.
Outdated
`'error'` events manually through `.emit(err)` instead of using API provided
callbacks or `.destroy(err)`. Doing so can break current and future stream
invariants leading to behaviour and/or compatibility issues with other streams,
Comment thread
ronag marked this conversation as resolved.
Outdated
stream utilities and user expectations.
Comment thread
ronag marked this conversation as resolved.
Outdated
Comment thread
ronag marked this conversation as resolved.
Outdated

### Simplified Construction
<!-- YAML
added: v1.2.0
Expand Down