Skip to content

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.

ParameterType
protocolProtocol
optionsServeUnixOptions

Promise<ServeUnixHandle>