A plain TCP-connect liveness check against host/port via
.port_is_open() – it never reads or parses the HTTP response, just
confirms something is listening (the server's real readiness is
GET /api/health, but a successful connect is enough to know the
socket is bound). Polls every 0.2s; each iteration also checks
process$is_alive() first, so a process that crashed on startup (e.g.
the web extra isn't installed) is reported immediately, with its
captured stderr, rather than left to time out.
Arguments
- host, port
The address
deck_serve()bound.- process
The
processx::processreturned by.launch_server_process().- timeout
Seconds to wait before giving up.
