read_update_feed_address: Wait for the update feed server's address

View source: R/update-feed.R

read_update_feed_addressR Documentation

Wait for the update feed server's address

Description

Reads the server's standard output until a whole line arrives, the output ends, or timeout seconds pass, and returns as soon as one of these happens. The line is the address only if it is exactly ⁠http://127.0.0.1:<port>/⁠ once a carriage return before its line feed is dropped. Anything else aborts, quoting the server's standard error.

Usage

read_update_feed_address(process, timeout)

Arguments

process

The processx::process running the server.

timeout

Seconds to wait.

Value

The address.


shinyelectron documentation built on Dec. 3, 2026, 9:07 a.m.