pokemon-showdown/sim/tools
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
..
exhaustive-runner.ts Rename Template to Species (#6478) 2020-03-25 23:29:27 -07:00
multi-random-runner.ts Add Gen 8 support for RandomPlayerAI and sim tools 2020-03-08 20:56:59 -07:00
random-player-ai.ts Add Gen 8 support for RandomPlayerAI and sim tools 2020-03-08 20:56:59 -07:00
runner.ts Update Streams API with pushEnd/writeEnd 2020-06-10 16:07:24 -07:00