Add notification emitter to `ClientIdeService.t`
commit7a9f929a37939775a58aaa44ed79c191537fc140
authorWaleed Khan <waleedk@fb.com>
Sat, 3 Aug 2019 00:30:40 +0000 (2 17:30 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Sat, 3 Aug 2019 00:36:04 +0000 (2 17:36 -0700)
treeb509b166c57d874de13442fda2a670cdc92a8f13
parent87038ce824ad4b72cbce7a3f3049b50fd4657271
Add notification emitter to `ClientIdeService.t`

Summary:
This is a stream of notifications that can be written to by the IDE service and read from by `clientLsp`. The notifications can be sent/received asynchronously, without interfering with synchronous RPC calls.

We'll use this in the immediate future to signal when the IDE service is finished processing changes for the saved state.

Reviewed By: jewelpit

Differential Revision: D16499502

fbshipit-source-id: 63a443333c4dabb76fd3d57618722bafc10f958b
hphp/hack/src/client/clientIdeMessage.ml
hphp/hack/src/stubs/clientIdeService.ml