serveUnix
function serveUnix(protocol, options): Promise<ServeUnixHandle>;Defined in: src/launcher/serve-unix.ts:97
Bind an AF_UNIX socket and serve protocol over per-connection IPC streams.
Sequential listen — one client at a time, just like Python’s serve_unix.
Each connection gets its own dispatch loop and shares the protocol.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
protocol | Protocol |
options | ServeUnixOptions |
Returns
Section titled “Returns”Promise<ServeUnixHandle>