Move client/clientMessageQueue to utils/jsonrpc_queue
commitcf596ba45f71ca1888a524880309ba513f207352
authorLucian Wischik <ljw@fb.com>
Fri, 1 Sep 2017 20:32:05 +0000 (1 13:32 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Fri, 1 Sep 2017 20:35:18 +0000 (1 13:35 -0700)
tree07a92975215bda9a1d5a08e299fc31e2c5cc8380
parentb25400588730f24aa76442c8083e4fa56e979a39
Move client/clientMessageQueue to utils/jsonrpc_queue

Summary:
ClientMessageQueue is a general-purpose utility for reading JsonRPC from stdin.

Accordingly, I've renamed it from the hack-specific "client/clientMessageQueue" into the more general-purpose "utils/jsonrpc_queue", and pulled it out into its own library.

Ultimately I wish to use it from Flow as well as from Hack.

Reviewed By: arxanas

Differential Revision: D5751391

fbshipit-source-id: 57578e3570fa0c513f713ef2143b7aa53a8308b1
hphp/hack/src/client/clientLsp.ml
hphp/hack/src/utils/jsonrpc_queue.ml [moved from hphp/hack/src/client/clientMessageQueue.ml with 93% similarity]
hphp/hack/src/utils/jsonrpc_queue.mli [moved from hphp/hack/src/client/clientMessageQueue.mli with 88% similarity]