pokemon-showdown/dev-tools
Guangcong Luo ab1f995daa Rewrite Process Manager
Process Manager is now lib/process-manager.js

It's been entirely rewritten to reflect what I think a process manager
API should look like.

In particular, there are now two Process Managers, QueryProcessManager
and StreamProcessManager.

Pass QueryProcessManager a pure-ish query function (sync or async) that
takes a JSON value and returns a JSON value, and PM.query() will
execute that function in a subprocess, and return a Promise for its
return value.

StreamProcessManager is the same idea: Pass it a function to create an
ObjectReadWriteStream, and PM.createStream() will create a stream in a
subprocess and return a stream connected to it.
2018-01-18 03:34:16 -06:00
..
eslint Always use trailing comma for multiline objects 2016-01-01 00:20:07 +01:00
global.d.ts Rewrite Process Manager 2018-01-18 03:34:16 -06:00
globals.ts Rewrite Process Manager 2018-01-18 03:34:16 -06:00
node.d.ts Rewrite Process Manager 2018-01-18 03:34:16 -06:00
users-utils.js Sockets: refactor to use maps (#3474) 2017-04-23 16:39:38 -07:00