pokemon-showdown/lib
Guangcong Luo 1e5b5ab465 Update Streams API with pushEnd/writeEnd
Previously, ending a read stream was `stream.push(null)`, and ending a
write stream was `stream.end()`. This was often confusing, and so now,
these are consistently `stream.pushEnd()` and `stream.writeEnd()`.

This refactor already found a bug in which `stream.end()` was used
where `stream.push(null)` should have been.

Also in this refactor: By default, `pushError` ends the stream. You can
pass `true` as the second parameter if the error is recoverable (the
stream shouldn't end).
2020-06-10 16:07:24 -07:00
..
crashlogger.ts
DASHYCODE.md
dashycode.ts Migrate to typescript-eslint (#6342) 2020-03-05 08:33:06 -08:00
fs.ts Support server/chat-plugins/private as symlink 2020-04-25 15:51:11 -04:00
net.ts Update Streams API with pushEnd/writeEnd 2020-06-10 16:07:24 -07:00
process-manager.ts Update Streams API with pushEnd/writeEnd 2020-06-10 16:07:24 -07:00
repl.ts Improve eslintrc 2020-03-06 22:35:55 -08:00
STREAMS.md Update Streams API with pushEnd/writeEnd 2020-06-10 16:07:24 -07:00
streams.ts Update Streams API with pushEnd/writeEnd 2020-06-10 16:07:24 -07:00
utils.ts Add a library for utility functions (#6817) 2020-06-09 22:06:43 -07:00