SocketEventBridge uses a Unix socket path for both send and listen directions.
Go support
- Go
- Rust
SocketEventBridge is not implemented in abxbus-go yet. Use JSONLEventBridge for the currently supported Go bridge.Constructor params
path: Unix socket path (absolute path recommended)name: optional bridge label
- Python
- TypeScript
- Go
- Rust
Setup with a bus
- Python
- TypeScript
- Go
- Rust
Behavior
emit(...)writes newline-delimited event JSON frames to the Unix socket.on(...)subscribes handlers on the inbound side and auto-starts the socket listener.- Incoming frames are decoded into events, reset, then emitted on the internal bus.
close()stops the socket server and tears down the internal bus.- TypeScript socket bridges require Node.js runtime support for Unix sockets.