Thread interruption handler to Typing_check_service
Summary:
`Typing_check_service`, knows how to check files, but doesn't know anything about Watchman, clients, servers, etc. Trying to call into those things would lead to circular references. But there will be Watchman and client related things happening during typechecking now!
To solve this, I pass (in the environment) an opaque handling function all the way down from ServerMain (currently set to None, actually set in
D7550959).
Reviewed By: alexchow
Differential Revision:
D7550954
fbshipit-source-id:
93c76e11ae8276855a1acbe4cd8f593c6081bc2b