Shutdown command

Summary:
Introduce a 'shutdown' command which effectively kills the process.

Killing the process, for flipper-server, will close down the server and active ws connections.

Reviewed By: passy

Differential Revision: D37209193

fbshipit-source-id: 83303e8209530a41ba870009603cfb383915b7a6
This commit is contained in:
Lorenzo Blasa
2022-06-21 04:46:42 -07:00
committed by Facebook GitHub Bot
parent 3e72831699
commit 2e9ab310bd
2 changed files with 4 additions and 0 deletions

View File

@@ -299,6 +299,7 @@ export type FlipperServerCommands = {
'intern-upload-scribe-logs': (
messages: {category: string; message: string}[],
) => Promise<void>;
shutdown: () => Promise<void>;
};
export type GraphResponse = {