pokemon-showdown/lib
Guangcong Luo 6245b2f8fe Fix FS.writeUpdate
The old FS.writeUpdate throttle code was broken and unnecessarily
complicated. Since cancelable Promises don't exist and I was thinking
in Promises, I forgot about the existence of `clearTimeout`.

Rewriting with `clearTimeout` produces significantly more readable
code, which should no longer be bugged, and should in fact handle
complicated mixes of throttle times exactly the way I want them to
be handled.

(I rewrote this so many times in unpushed code, and each time turned
out unnecessarily complicated because I didn't remember `clearTimeout`
until now.)
2018-12-31 02:41:14 -06:00
..
crashlogger.js Update Typescript to 3.1 (#4879) 2018-10-05 04:02:54 -05:00
dashycode.js New library: Dashycode 2017-12-12 03:22:09 -06:00
fs.js Fix FS.writeUpdate 2018-12-31 02:41:14 -06:00
process-manager.js Make ProcessManager slightly safer 2018-10-22 15:45:23 -05:00
repl.js Update to TypeScript 3.0.1 (#4710) 2018-08-07 03:27:28 +09:00
streams.js Update Typescript to 3.1 (#4879) 2018-10-05 04:02:54 -05:00
STREAMS.md Fix streams.js doc comment 2018-01-20 12:16:47 -06:00