Skip to content

ServeUnixHandle

Defined in: src/launcher/serve-unix.ts:81

Handle returned by serveUnix for callers that want to stop the server.

readonly done: Promise<void>;

Defined in: src/launcher/serve-unix.ts:88

Promise that resolves when the server has stopped (idle timeout, stop(), or a fatal error). Mirrors Python’s blocking serve() return.


readonly socketPath: string;

Defined in: src/launcher/serve-unix.ts:83

Absolute path of the bound AF_UNIX socket the server is listening on.

stop(): Promise<void>;

Defined in: src/launcher/serve-unix.ts:85

Shut down the listener and unlink the socket file.

Promise<void>