Commit 881d9bea authored by James M Snell's avatar James M Snell
Browse files

doc: readable event clarification

per https://github.com/joyent/node/issues/14597



Indicate that `'readable'` indicates only that data can
be read from the stream, not that there is actually data
to be consumed. `readable.read([size])` can still return
null. Includes an example that illustrates the point.

Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
PR-URL: https://github.com/joyent/node/pull/25591
parent b6378f0c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment