Skip to main content

run_sync_pull

Function run_sync_pull 

Source
pub fn run_sync_pull() -> Result<Value>
Expand description

Programmatic pull. Same shape as wire pull --json.

v0.9: routes through endpoints::self_primary_endpoint so sessions created via wire session new --with-local (which only writes self.endpoints[], not the legacy top-level fields) actually pull. Pre-v0.9 this function read only the top-level fields and silently returned {} for any v0.5.17+ session.