mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-04-28 19:56:57 -05:00
Fix outdated reference to .end() in Streams doc
This commit is contained in:
parent
6f1a640b71
commit
517f34bee8
|
|
@ -56,7 +56,7 @@ The stream version lets you do it a bit at a time instead of all at once, so you
|
||||||
* `encoding` [override encoding](#override-encoding)
|
* `encoding` [override encoding](#override-encoding)
|
||||||
* Returns: {Promise<void>} for the next time it's safe to write to the `writeStream`.
|
* Returns: {Promise<void>} for the next time it's safe to write to the `writeStream`.
|
||||||
|
|
||||||
Writes to the stream. `writeStream.write(null)` is equivalent to `writeStream.end()`.
|
Writes to the stream. `writeStream.write(null)` is equivalent to `writeStream.writeEnd()`.
|
||||||
|
|
||||||
### writeStream.writeLine(chunk, [encoding])
|
### writeStream.writeLine(chunk, [encoding])
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user