Skip to content

ServeUnixHandle

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

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

readonly done: Promise<void>;

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

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:72

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

stop(): Promise<void>;

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

Shut down the listener and unlink the socket file.

Promise<void>