Skip to main content

register_with

Function register_with 

Source
pub async fn register_with(
    link: NodeLink,
    handshake: NodeHandshake,
    runtime: NodeRuntime,
    zero_copy_threshold: u64,
    subscribe_to: Vec<DataId>,
    shm_broker: Option<PathBuf>,
) -> Result<Registration>
Expand description

register, told where the daemon’s segment broker listens (§6.2).

The broker socket travels in astrs_wire::NodeConfig::shm_broker, and it is what turns a RouteUpgrade into a mapped segment on every platform — see crate::session::routes::open_producer. Separate from register so a caller that has no configuration blob (the in-process test harness) keeps its shorter call.

§Errors

As register.