ServeUnixHandle
Defined in: src/launcher/serve-unix.ts:81
Handle returned by serveUnix for callers that want to stop the server.
Properties
Section titled “Properties”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.
socketPath
Section titled “socketPath”readonly socketPath: string;Defined in: src/launcher/serve-unix.ts:83
Absolute path of the bound AF_UNIX socket the server is listening on.
Methods
Section titled “Methods”stop()
Section titled “stop()”stop(): Promise<void>;Defined in: src/launcher/serve-unix.ts:85
Shut down the listener and unlink the socket file.
Returns
Section titled “Returns”Promise<void>