Spawns a runtime child process listening on a TCP socket. Construct via :meth:`RuntimeConnection.tcp`.
| 373 | |
| 374 | @dataclass |
| 375 | class TcpRuntimeConnection(ChildProcessRuntimeConnection): |
| 376 | """Spawns a runtime child process listening on a TCP socket. |
| 377 | |
| 378 | Construct via :meth:`RuntimeConnection.tcp`. |
| 379 | """ |
| 380 | |
| 381 | port: int = 0 |
| 382 | """TCP port to listen on. ``0`` (the default) auto-allocates a free port.""" |
| 383 | |
| 384 | connection_token: str | None = None |
| 385 | """Shared secret the SDK sends to the spawned runtime. ``None`` auto-generates one.""" |
| 386 | |
| 387 | |
| 388 | @dataclass |
no outgoing calls
no test coverage detected
searching dependent graphs…