@foxglove/ws-protocol-examples
Version:
Foxglove WebSocket protocol examples
8 lines • 418 B
TypeScript
import { Debugger } from "debug";
import { WebSocketServer } from "ws";
/**
* Helper to set up a SIGINT handler that shuts down the server. It also closes each of the server's
* open clients, because if we don't, the server keeps running until active clients disconnect.
*/
export declare function setupSigintHandler(log: Debugger, ws: WebSocketServer): AbortSignal;
//# sourceMappingURL=setupSigintHandler.d.ts.map